From: Ivo Almeida Date: Mon, 26 Feb 2024 11:56:18 +0000 (+0000) Subject: mgr/dashboard: add snap schedule M, Y frequencies X-Git-Tag: v20.0.0~2521^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=be3bb09cca7ff8d10a36a59702bb16fd10aba84e;p=ceph.git mgr/dashboard: add snap schedule M, Y frequencies Added M and Y (month and year) repeat frequencies to snap schedule create form. Fixes: https://tracker.ceph.com/issues/64614 Signed-off-by: Ivo Almeida --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/repeat-frequency.enum.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/repeat-frequency.enum.ts index 06fb1c3afc0c0..48257504defa0 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/repeat-frequency.enum.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/repeat-frequency.enum.ts @@ -1,17 +1,23 @@ export enum RepeatFrequency { Hourly = 'h', Daily = 'd', - Weekly = 'w' + Weekly = 'w', + Monthly = 'M', + Yearly = 'Y' } export enum RepeaFrequencySingular { h = 'hour', d = 'day', - w = 'week' + w = 'week', + M = 'month', + Y = 'year' } export enum RepeaFrequencyPlural { h = 'hours', d = 'days', - w = 'weeks' + w = 'weeks', + M = 'months', + Y = 'years' }