diff --git a/src/@core/layouts/components/AppBreadcrumb.vue b/src/@core/layouts/components/AppBreadcrumb.vue index 929fd432..7f602bf4 100644 --- a/src/@core/layouts/components/AppBreadcrumb.vue +++ b/src/@core/layouts/components/AppBreadcrumb.vue @@ -31,7 +31,7 @@ {{ chainname }} diff --git a/src/router/index.js b/src/router/index.js index 3084d4b9..83f4f029 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -249,16 +249,16 @@ const router = new VueRouter({ component: () => import('@/views/StakingValidator.vue'), meta: { pageTitle: 'Staking Validator', - breadcrumb: [ + breadcrumb: route => ([ { text: 'Staking', - active: true, + to: `/${route.params.chain}/staking`, }, { text: 'Validator', active: true, }, - ], + ]), }, }, { @@ -317,16 +317,16 @@ const router = new VueRouter({ component: () => import('@/views/Block.vue'), meta: { pageTitle: 'Block', - breadcrumb: [ + breadcrumb: route => ([ { text: 'Blocks', - active: true, + to: `/${route.params.chain}/blocks`, }, { text: 'Block', active: true, }, - ], + ]), }, }, {