]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix M retention frequency display 56363/head
authorIvo Almeida <ialmeida@redhat.com>
Tue, 19 Mar 2024 13:13:17 +0000 (13:13 +0000)
committerIvo Almeida <ialmeida@redhat.com>
Thu, 21 Mar 2024 09:22:37 +0000 (09:22 +0000)
Fix snap schedule list monthly retention frequency display

Fixes: https://tracker.ceph.com/issues/64982
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit 0bd8d3b6bc8ecbe99e22545549a63de3444e5f75)

src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts

index 193418a1783c687eb4455ca24a1771b44ae9e3bc..b24a337ee1cf0600bb2b7cc943373a8d0cc14df7 100644 (file)
@@ -1,8 +1,9 @@
 export enum RetentionFrequency {
+  Minutely = 'm',
   Hourly = 'h',
   Daily = 'd',
   Weekly = 'w',
-  Monthly = 'm',
+  Monthly = 'M',
   Yearly = 'y',
   'lastest snapshots' = 'n'
 }
@@ -11,7 +12,8 @@ export enum RetentionFrequencyCopy {
   h = 'Hourly',
   d = 'Daily',
   w = 'Weekly',
-  m = 'Monthly',
+  M = 'Monthly',
+  m = 'Minutely',
   y = 'Yearly',
   n = 'lastest snapshots'
 }