From: pujaoshahu Date: Fri, 13 Mar 2026 14:44:30 +0000 (+0530) Subject: mgr/dashboard: Title says "Gateways" but it displays gateway group names in NVME/TCP X-Git-Tag: v21.0.0~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F67781%2Fhead;p=ceph.git 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 --- 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({