Update PercentageBar input model name

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2024-10-20 18:34:08 +02:00
parent 25158fe138
commit d1d85b7828
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393
2 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@ export default {
<div v-if="showImage">
<h4>{{ t('harvester.upgradePage.upgradeImage') }}<span class="float-r text-info">{{ imageProgress }}%</span></h4>
<PercentageBar :value="imageProgress" preferred-direction="MORE" />
<PercentageBar :modelValue="imageProgress" preferred-direction="MORE" />
<p class="text-warning">
{{ imageMessage }}
</p>

View File

@ -45,7 +45,7 @@ export default {
<Collapse v-model:open="open">
<template #title>
<div class="total-bar">
<span class="bar"><PercentageBar :value="precent" preferred-direction="MORE" /></span>
<span class="bar"><PercentageBar :modelValue="precent" preferred-direction="MORE" /></span>
<span class="on-off" @click="handleSwitch"> {{ open ? t('harvester.generic.close') : t('harvester.generic.open') }}</span>
</div>
</template>
@ -54,7 +54,7 @@ export default {
<div class="custom-content">
<div v-for="(item, i) in list" :key="i" >
<p>{{ item.name }} <span class="status" :class="{ [item.state]: true }">{{ item.state }}</span></p>
<PercentageBar :value="item.percent" preferred-direction="MORE" />
<PercentageBar :modelValue="item.percent" preferred-direction="MORE" />
<p class="warning">
{{ item.message }}
</p>