]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Remove Multi-Cluster Tab from Dashboard
authorAashish Sharma <Aashish.Sharma1@ibm.com>
Fri, 24 Oct 2025 09:08:32 +0000 (14:38 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 30 Oct 2025 09:56:29 +0000 (15:26 +0530)
With introduction of the new Multi-Cluster manager we need to remove the
multi-cluster reference from the UI

1. Multi-Cluster tab from side navigation
2. Multi-cluster reference from Multi-site replication wizard

Resolves: rhbz#2406182

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-wizard/rgw-multisite-wizard.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html

index 860cdefa1a99e45116ec4526f68697554959dfb4..8bce83eec82285fc9fc3cce5ba94b07df9f29c23 100644 (file)
@@ -25,7 +25,7 @@
           <ng-container [ngSwitch]="currentStep?.stepIndex">
             <div *ngSwitchCase="0"
                  class="ms-5">
-              <ng-container *ngIf="environment.build === 'ibm'; else defaultAlert">
+              <ng-container *ngIf="!['ibm', 'redhat'].includes(environment.build); else defaultAlert">
                 <cd-alert-panel type="info"
                                 spacingClass="mb-3">
                   This wizard enables you to set up multi-site replication within your
index ca2260d80d64a673513143c9a9f2c03126cfaa20..61f0400a9794340c21377fb9d519e73731e74e3e 100644 (file)
@@ -96,7 +96,7 @@
         </cds-sidenav-item>
         <!-- Multi-cluster Dashboard -->
         <cds-sidenav-menu title="Multi-Cluster"
-                          *ngIf="permissions.configOpt.read && environment.build === 'ibm'"
+                          *ngIf="permissions.configOpt.read && !['ibm', 'redhat'].includes(environment.build)"
                           i18n-title>
           <svg cdsIcon="edge-cluster"
                icon