]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Redirect /block to /block/rbd
authorZack Cerza <zack@redhat.com>
Tue, 23 Oct 2018 18:57:30 +0000 (12:57 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 23 Oct 2018 19:27:40 +0000 (13:27 -0600)
Fixes: https://tracker.ceph.com/issues/36401
Signed-off-by: Zack Cerza <zack@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts

index 1807c98ab9bb812e646773528c80cf51efdcd0b9..8d12cc518a3830f3db73fcd6a15434495edc1230 100644 (file)
@@ -116,6 +116,11 @@ const routes: Routes = [
     canActivate: [AuthGuardService],
     data: { breadcrumbs: true, text: 'Block', path: null },
     children: [
+      {
+        path: '',
+        redirectTo: 'rbd',
+        pathMatch: 'full'
+      },
       {
         path: 'rbd',
         data: { breadcrumbs: 'Images' },