]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix create snapshot is disabled for rbd images
authorNizamudeen A <nia@redhat.com>
Fri, 19 May 2023 11:18:14 +0000 (16:48 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 29 May 2023 14:02:34 +0000 (19:32 +0530)
commitf09b9d98c4c32ef6871839c1c28a05495c0f1c95
tree21e8e644ac56897e85ec6b8c20e256ddce146441
parentb82a6abab7caa1be30ca0cb21532a7d53ef49f49
mgr/dashboard: fix create snapshot is disabled for rbd images

also the rename and rollback option in the snapshot list is enabled even if there isn't anything in the list

also disabled the Mirror Image Snapshot option in the Create RBD
Snapshot form (only shown for images configured with Snapshot mirroring)
with the helpe

Fixes: https://tracker.ceph.com/issues/61296
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 896ae75901b564677ea1611a89f4d61da881a6e1)
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-actions.model.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts