add default for selected
This commit is contained in:
parent
fea3980009
commit
3298a10397
@ -14,6 +14,8 @@ configs.keys().forEach(k => {
|
|||||||
// } else {
|
// } else {
|
||||||
chains = update
|
chains = update
|
||||||
localStorage.setItem('chains', JSON.stringify(update))
|
localStorage.setItem('chains', JSON.stringify(update))
|
||||||
|
const selected = chains.cosmos
|
||||||
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// Object.keys(update).forEach(key => {
|
// Object.keys(update).forEach(key => {
|
||||||
@ -42,7 +44,7 @@ export default {
|
|||||||
namespaced: true,
|
namespaced: true,
|
||||||
state: {
|
state: {
|
||||||
config: chains,
|
config: chains,
|
||||||
selected: {},
|
selected,
|
||||||
avatars: {},
|
avatars: {},
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
|
Loading…
Reference in New Issue
Block a user