]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Title says "Gateways" but it displays gateway group names in NVME/TCP 67781/head
authorpujaoshahu <pshahu@redhat.com>
Fri, 13 Mar 2026 14:44:30 +0000 (20:14 +0530)
committerpujaoshahu <pshahu@redhat.com>
Fri, 20 Mar 2026 08:05:42 +0000 (13:35 +0530)
Fixes: https://tracker.ceph.com/issues/75443
Signed-off-by: pujaoshahu <pshahu@redhat.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

index 74f93c89d3408dd0b65065bf04f5be9452c86a22..6b2552078ac193d890b58e3457b2c656a5e56219 100644 (file)
@@ -10,7 +10,7 @@
             isNavigation="true"
             [cacheActive]="false">
   <cds-tab
-    heading="Gateways"
+    heading="Gateway groups"
     [tabContent]="gateways_content"
 
     i18n-heading
index 5156185775670cf30f1fa460c9bd98015c75576c..1938a399a99d1c083e4237018c45fbd1720c027c 100644 (file)
@@ -50,13 +50,13 @@ describe('NvmeofGatewayComponent', () => {
   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', () => {
index 99951c85bd645cd1ee29e8955b91dafdb9aaea87..88d2d4f5fd59b0152ab897841f58fc1e35a16f45 100644 (file)
@@ -14,9 +14,9 @@ enum TABS {
 }
 
 const TAB_LABELS: Record<TABS, string> = {
-  [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({