From 9337cb79de940ea13f90878df4d2b84973d1944c Mon Sep 17 00:00:00 2001 From: pujaoshahu Date: Fri, 13 Mar 2026 20:14:30 +0530 Subject: [PATCH] mgr/dashboard: Title says "Gateways" but it displays gateway group names in NVME/TCP Fixes: https://tracker.ceph.com/issues/75443 Signed-off-by: pujaoshahu --- .../ceph/block/nvmeof-gateway/nvmeof-gateway.component.html | 2 +- .../block/nvmeof-gateway/nvmeof-gateway.component.spec.ts | 4 ++-- .../ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.html index 74f93c89d340..6b2552078ac1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.html @@ -10,7 +10,7 @@ isNavigation="true" [cacheActive]="false"> { it('should set tab crumb on init', () => { spyOn(breadcrumbService, 'setTabCrumb'); component.ngOnInit(); - expect(breadcrumbService.setTabCrumb).toHaveBeenCalledWith('Gateways'); + expect(breadcrumbService.setTabCrumb).toHaveBeenCalledWith('Gateway groups'); }); it('should update tab crumb on tab switch', () => { spyOn(breadcrumbService, 'setTabCrumb'); component.onSelected(component.Tabs.subsystem); - expect(breadcrumbService.setTabCrumb).toHaveBeenCalledWith('Subsystem'); + expect(breadcrumbService.setTabCrumb).toHaveBeenCalledWith('Subsystems'); }); it('should clear tab crumb on destroy', () => { diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts index 99951c85bd64..88d2d4f5fd59 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-gateway/nvmeof-gateway.component.ts @@ -14,9 +14,9 @@ enum TABS { } const TAB_LABELS: Record = { - [TABS.gateways]: $localize`Gateways`, - [TABS.subsystem]: $localize`Subsystem`, - [TABS.namespace]: $localize`Namespace` + [TABS.gateways]: $localize`Gateway groups`, + [TABS.subsystem]: $localize`Subsystems`, + [TABS.namespace]: $localize`Namespaces` }; @Component({ -- 2.47.3