This commit is contained in:
donne 2022-04-05 11:27:21 +08:00
parent 893e6ed853
commit c91b1f72d7

View File

@ -308,7 +308,7 @@ export default {
selectedChain() {
let config = null
const allChains = localStorage.getItem('chains')
if (allChains) {
if (allChains && this.selectedChainName) {
config = JSON.parse(allChains)[this.selectedChainName]
}
return config