From 57040391f55d58efa78f4770d74b37c2483a4f2a Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 23 Oct 2018 12:57:30 -0600 Subject: [PATCH] mgr/dashboard: Redirect /block to /block/rbd Fixes: https://tracker.ceph.com/issues/36401 Signed-off-by: Zack Cerza --- .../mgr/dashboard/frontend/src/app/app-routing.module.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts index 1807c98ab9b..8d12cc518a3 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts @@ -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' }, -- 2.39.5