diff --git a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-items/VerticalNavMenuItems.vue b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-items/VerticalNavMenuItems.vue index a9ac5c87..9ce87f62 100644 --- a/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-items/VerticalNavMenuItems.vue +++ b/src/@core/layouts/layout-vertical/components/vertical-nav-menu/components/vertical-nav-menu-items/VerticalNavMenuItems.vue @@ -58,7 +58,7 @@ export default { } current.children = children // this.items.unshift(current) - return [{ header: 'dashboard' }, current, { header: 'ecosystem' }].concat(this.items) + return [{ header: 'dashboard' }, current].concat(this.items) }, }, } diff --git a/src/navigation/vertical/index.js b/src/navigation/vertical/index.js index 6b31a3c4..41f69c49 100644 --- a/src/navigation/vertical/index.js +++ b/src/navigation/vertical/index.js @@ -13,11 +13,15 @@ function processMenu() { blockchains.push(menu) }) - chainMenus.push({ - title: 'blockchains', - children: blockchains, - icon: 'https://ping.pub/logo.svg', - }) + if (blockchains.length > 1) { + chainMenus.push({ header: 'ecosystem' }) + chainMenus.push({ + title: 'blockchains', + children: blockchains, + tag: `${blockchains.length}`, + icon: 'https://ping.pub/logo.svg', + }) + } chainMenus.push({ header: 'LINKS' }) if (isTestnet()) { chainMenus.push({