]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix rbd form mirroring toggle
authorNizamudeen A <nia@redhat.com>
Wed, 17 Sep 2025 03:39:54 +0000 (09:09 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 13 Oct 2025 05:29:07 +0000 (10:59 +0530)
commit513435a87e524c12042cef30bd75cee28ab7b0ef
tree51f66a94c73b09c34089aefaf5be6fe5ffadb5a7
parentf112425979ef743d33fdcd7cc6af3152e7c855c3
mgr/dashboard: fix rbd form mirroring toggle

- fix the toggle not working while editing the image
- the rbd form mirroring toggle doesn't disable/enable the mirror mode
when you change the pool.

- also re-arrange the form in a way that the required fields are together.
- disable mirroring when selecting the namespace

Resolves: rhbz#2403464

Fixes: https://tracker.ceph.com/issues/72458
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1efd37d4b5fc4363c6c86a84ede9c826c94d2c22)
(cherry picked from commit 63e7555a1f3d877faf54047a46e6499ed2cc05e3)
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-contants.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts