finish localization

This commit is contained in:
liangping committed 2021-07-22 10:39:17 +08:00
1 parent cd27cc4e04
commit 3fb71b2dda
16 files changed
+216 -866

No files matched your search

+5 -1
View File
@@ -90,7 +90,11 @@ export default {
computed: {
selected_chain() {
const c = this.$route.params.chain
return store.state.chains.chains[c]
const has = Object.keys(store.state.chains.chains).findIndex(i => i === c)
if (has > -1) {
return store.state.chains.chains[c]
}
return store.state.chains.chains.cosmos
},
},
}