mirror of
https://github.com/getbible/app.git
synced 2024-09-27 16:29:01 +00:00
called 'set_settings' mutation on app created hook'
This commit is contained in:
parent
954b807595
commit
b8cd842804
@ -24,6 +24,15 @@ export default {
|
|||||||
navbar,
|
navbar,
|
||||||
options
|
options
|
||||||
},
|
},
|
||||||
|
created(){
|
||||||
|
const userSettings = localStorage.getItem('settings');
|
||||||
|
|
||||||
|
if (userSettings) {
|
||||||
|
const settings = JSON.parse(userSettings);
|
||||||
|
this.$store.commit('set_settings', settings);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user