Skip to content

Commit

Permalink
Fixed UnitInput value not updating (#12420)
Browse files Browse the repository at this point in the history
  • Loading branch information
eva-vashkevich authored Oct 30, 2024
1 parent 001b6e9 commit 190f486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shell/edit/cis.cattle.io.clusterscan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export default {
</div>
<div class="col span-6">
<UnitInput
v-model.number="scheduledScanConfig.retentionCount"
v-model:value="scheduledScanConfig.retentionCount"
:suffix="t('cis.reports')"
type="number"
:mode="mode"
Expand Down
6 changes: 4 additions & 2 deletions shell/pages/c/_cluster/apps/charts/install.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1663,9 +1663,10 @@ export default {
class="mt-10"
>
<UnitInput
v-model.number="customCmdOpts.timeout"
v-model:value="customCmdOpts.timeout"
:label="t('catalog.install.helm.timeout.label')"
:suffix="t('catalog.install.helm.timeout.unit', {value: customCmdOpts.timeout})"
type="number"
/>
</div>
<div
Expand All @@ -1674,9 +1675,10 @@ export default {
>
<UnitInput
v-if="existing"
v-model.number="customCmdOpts.historyMax"
v-model:value="customCmdOpts.historyMax"
:label="t('catalog.install.helm.historyMax.label')"
:suffix="t('catalog.install.helm.historyMax.unit', {value: customCmdOpts.historyMax})"
type="number"
/>
</div>
<div
Expand Down

0 comments on commit 190f486

Please sign in to comment.