mirror of
https://github.com/getbible/app.git
synced 2024-12-22 07:48:55 +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,
|
||||
options
|
||||
},
|
||||
created(){
|
||||
const userSettings = localStorage.getItem('settings');
|
||||
|
||||
if (userSettings) {
|
||||
const settings = JSON.parse(userSettings);
|
||||
this.$store.commit('set_settings', settings);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user