]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add default state when gateway groups are empty 63174/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 15:20:08 +0000 (20:50 +0530)
commit9a7c907bfc2345a79ecc1f850cc851f21f74fca5
treeeef26d9e2574259ddedf8094a44fbe590856a137
parentf51e0faa82c8a813fdfcbdd6407a048b039cdd8b
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>
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