]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix redirection of SMB enable module 64679/head
authorAfreen Misbah <afreen@ibm.com>
Tue, 22 Jul 2025 09:13:14 +0000 (14:43 +0530)
committerAfreen Misbah <afreen@ibm.com>
Fri, 25 Jul 2025 15:07:13 +0000 (20:37 +0530)
- taking to dashboard page due to remains of `buttonToEnableModule`

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 57910d582eafeeb569a475e3a74338bb3e0c89bb)

src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html

index d82e122ff0ea817f8765fb16c9ac75626a08f152..2a8f84080ea39ba6f392b6e4fef6cb07b96fca81 100644 (file)
@@ -60,7 +60,7 @@
 
 <ng-template #dashboardButton>
   <div class="mt-4 text-center"
-       *ngIf="!buttonToEnableModule; else enableButton">
+       *ngIf="!module_name; else enableButton">
     <button class="btn btn-primary"
             [routerLink]="'/dashboard'"
             i18n>Go To Dashboard</button>