trade
This commit is contained in:
parent
0ccfd3b79f
commit
13d47714a0
@ -34,8 +34,8 @@ const modules = [
|
||||
},
|
||||
{
|
||||
scope: 'osm-osis',
|
||||
title: 'pools',
|
||||
route: 'osmosis-pool',
|
||||
title: 'trade',
|
||||
route: 'osmosis-trade',
|
||||
},
|
||||
]
|
||||
|
||||
|
@ -279,7 +279,7 @@ const router = new VueRouter({
|
||||
// custom modules for specified chains
|
||||
// 1. cosmos
|
||||
{
|
||||
path: '/:chain/cosmos/pools',
|
||||
path: '/:chain/cosmos/trade',
|
||||
name: 'gravity',
|
||||
component: () => import('@/views/GravityPool.vue'),
|
||||
meta: {
|
||||
@ -294,14 +294,14 @@ const router = new VueRouter({
|
||||
},
|
||||
// 2. OSMOSIS
|
||||
{
|
||||
path: '/:chain/osmosis/pools',
|
||||
name: 'osmosis-pool',
|
||||
component: () => import('@/views/OsmosisPools.vue'),
|
||||
path: '/:chain/osmosis/trade',
|
||||
name: 'osmosis-trade',
|
||||
component: () => import('@/views/OsmosisTrade.vue'),
|
||||
meta: {
|
||||
pageTitle: 'Pools',
|
||||
pageTitle: 'Trade',
|
||||
breadcrumb: [
|
||||
{
|
||||
text: 'Pools',
|
||||
text: 'Trade',
|
||||
active: true,
|
||||
},
|
||||
],
|
||||
|
@ -1,7 +1,7 @@
|
||||
let chains = {}
|
||||
|
||||
let configs = require.context('../../chains/mainnet', false, /\.json$/)
|
||||
if (window.location.hostname.startsWith('testnet') || window.location.search.indexOf('testnet')) {
|
||||
if (window.location.hostname.startsWith('testnet') || window.location.search.indexOf('testnet') > -1) {
|
||||
configs = require.context('../../chains/testnet', false, /\.json$/)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user