diff --git a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/VerticalNavMenu.vue b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/VerticalNavMenu.vue index 7eafc562..bad3aa9c 100644 --- a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/VerticalNavMenu.vue +++ b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/VerticalNavMenu.vue @@ -72,7 +72,7 @@ @ps-scroll-y="evt => { shallShadowBottom = evt.srcElement.scrollTop > 0 }" > @@ -154,6 +154,16 @@ export default { appLogoImage, } }, + computed: { + leftMenu() { + const preload = [] + const { selected } = this.$store.state.chains + const current = navMenuItems.find(x => (x.title === selected.chain_name)) + preload.push({ header: 'current' }) + preload.push(current) + return preload.concat(navMenuItems.filter(x => x.title !== selected.chain_name)) + }, + }, } diff --git a/src/navigation/vertical/index.js b/src/navigation/vertical/index.js index c9c90fd5..d53ad4e9 100644 --- a/src/navigation/vertical/index.js +++ b/src/navigation/vertical/index.js @@ -42,11 +42,6 @@ const modules = [ function processMenu() { const chainMenus = [ - // { - // title: 'Home', - // route: 'home', - // icon: 'HomeIcon', - // }, { header: 'blockchains', }, diff --git a/src/views/StakingRewardComponent.vue b/src/views/StakingRewardComponent.vue index 17645d6f..6ac11107 100644 --- a/src/views/StakingRewardComponent.vue +++ b/src/views/StakingRewardComponent.vue @@ -28,6 +28,8 @@ rounded size="42" variant="light-success" + text="R" + title="Rewards" /> @@ -54,12 +56,9 @@ rounded size="42" variant="light-primary" - > - - + text="C" + title="Commission" + />