From 76ec980c76ed8463a8cc8bfe270a5073df294a8e Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Mon, 9 Jan 2023 12:35:10 +0100 Subject: [PATCH] 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. --- ui/src/views/storage/FormSchedule.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/views/storage/FormSchedule.vue b/ui/src/views/storage/FormSchedule.vue index 4e36c096f8d..3da26c52b80 100644 --- a/ui/src/views/storage/FormSchedule.vue +++ b/ui/src/views/storage/FormSchedule.vue @@ -117,8 +117,7 @@ + :min="1" />