diff --git a/src/navigation/vertical/index.js b/src/navigation/vertical/index.js index 52cc34e6..d8cb9438 100644 --- a/src/navigation/vertical/index.js +++ b/src/navigation/vertical/index.js @@ -34,8 +34,8 @@ const modules = [ }, { scope: 'osm-osis', - title: 'pools', - route: 'osmosis-pool', + title: 'trade', + route: 'osmosis-trade', }, ] diff --git a/src/router/index.js b/src/router/index.js index b1f25aad..1b61984f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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, }, ], diff --git a/src/store/chains/index.js b/src/store/chains/index.js index aba18098..319d60d4 100644 --- a/src/store/chains/index.js +++ b/src/store/chains/index.js @@ -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$/) } diff --git a/src/views/OsmosisPools.vue b/src/views/OsmosisTrade.vue similarity index 100% rename from src/views/OsmosisPools.vue rename to src/views/OsmosisTrade.vue