add tags and single chain mode
This commit is contained in:
parent
f7491858e0
commit
0fb20ce4f3
@ -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)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user