Skip to content

Commit 76ec980

Browse files
ui: remove max value (8) of maxsnaps because it might be greater than 8 (#7066)
Fixes #7051 The value of "Keep" when create snapshot policy was automatically reset to 8 if the input is greater than 8. However, the max value of recurring snapshots is determined by global settings snapshot.max.daily / snapshot.max.hourly / snapshot.max.monthly / snapshot.max.weekly, which is 8 by default, but users can input other values greater than 8. This PR removes this restriction on UI and cloudsack management server will check if the value is valid.
1 parent eb5c8a5 commit 76ec980

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/src/views/storage/FormSchedule.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@
117117
<a-input-number
118118
style="width: 100%"
119119
v-model:value="form.maxsnaps"
120-
:min="1"
121-
:max="8" />
120+
:min="1" />
122121
</a-tooltip>
123122
</a-form-item>
124123
</a-col>

0 commit comments

Comments
 (0)