fix
This commit is contained in:
parent
893e6ed853
commit
c91b1f72d7
@ -308,7 +308,7 @@ export default {
|
|||||||
selectedChain() {
|
selectedChain() {
|
||||||
let config = null
|
let config = null
|
||||||
const allChains = localStorage.getItem('chains')
|
const allChains = localStorage.getItem('chains')
|
||||||
if (allChains) {
|
if (allChains && this.selectedChainName) {
|
||||||
config = JSON.parse(allChains)[this.selectedChainName]
|
config = JSON.parse(allChains)[this.selectedChainName]
|
||||||
}
|
}
|
||||||
return config
|
return config
|
||||||
|
Loading…
Reference in New Issue
Block a user