forked from cerc-io/cosmos-explorer
add tags and single chain mode
This commit is contained in:
parent
f7491858e0
commit
0fb20ce4f3
@ -58,7 +58,7 @@ export default {
|
|||||||
}
|
}
|
||||||
current.children = children
|
current.children = children
|
||||||
// this.items.unshift(current)
|
// 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)
|
blockchains.push(menu)
|
||||||
})
|
})
|
||||||
|
|
||||||
chainMenus.push({
|
if (blockchains.length > 1) {
|
||||||
title: 'blockchains',
|
chainMenus.push({ header: 'ecosystem' })
|
||||||
children: blockchains,
|
chainMenus.push({
|
||||||
icon: 'https://ping.pub/logo.svg',
|
title: 'blockchains',
|
||||||
})
|
children: blockchains,
|
||||||
|
tag: `${blockchains.length}`,
|
||||||
|
icon: 'https://ping.pub/logo.svg',
|
||||||
|
})
|
||||||
|
}
|
||||||
chainMenus.push({ header: 'LINKS' })
|
chainMenus.push({ header: 'LINKS' })
|
||||||
if (isTestnet()) {
|
if (isTestnet()) {
|
||||||
chainMenus.push({
|
chainMenus.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user