]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add default state when gateway groups are empty 63245/head
authorAfreen Misbah <afreen@ibm.com>
Thu, 8 May 2025 04:09:59 +0000 (09:39 +0530)
committerAfreen Misbah <afreen@ibm.com>
Mon, 12 May 2025 19:11:36 +0000 (00:41 +0530)
commit2f41ccea608f238298e3add617961ec085a3b71b
tree5d4f7875d711dc83f733a7a683f06a415f194dd5
parentb74b612678d6374f69096a6a5ae0ec73358e5a16
mgr/dashboard: Add default state when gateway groups are empty

Fixes https://tracker.ceph.com/issues/71247

- after upgrades the nvmeof service spec does not contain `group` field
- this causes UI combobox internal errors
- checking for `group` in spec and disabling the selector

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 9a7c907bfc2345a79ecc1f850cc851f21f74fca5)
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems/nvmeof-subsystems.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems/nvmeof-subsystems.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-subsystems/nvmeof-subsystems.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts