From: Ivo Almeida Date: Tue, 19 Mar 2024 13:13:17 +0000 (+0000) Subject: mgr/dashboard: fix M retention frequency display X-Git-Tag: v19.1.0~204^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=196df28c7dee4f00a751be68040ab1b57958d558;p=ceph.git mgr/dashboard: fix M retention frequency display Fix snap schedule list monthly retention frequency display Fixes: https://tracker.ceph.com/issues/64982 Signed-off-by: Ivo Almeida (cherry picked from commit 0bd8d3b6bc8ecbe99e22545549a63de3444e5f75) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts index 193418a1783c6..b24a337ee1cf0 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts @@ -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' }