]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Fix `null` gateway group
authorAfreen Misbah <afreen23.git@gmail.com>
Tue, 24 Sep 2024 11:13:41 +0000 (16:43 +0530)
committerAfreen Misbah <afreen23.git@gmail.com>
Mon, 30 Sep 2024 14:48:29 +0000 (20:18 +0530)
commit48d1517b417ae2b21ca2e7fac9e76afc394659dc
tree43913d5ac4ed77fb2af3528484d756c031f20b2a
parent16f3dad1c200679a91402c6be4a135ac177f52b4
mgr/dashboard: Fix `null` gateway group

- when no group is set a bad request is made `?gw_group=null`
- this causes a dashboard exception to be raised as well
- avoiding sending any request when no group is present
- fixes casing of "hostname" in gateway column

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
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.ts