Try to load saved theme when App created
This commit is contained in:
parent
798af7bb5b
commit
ff8e3b5458
|
@ -14,6 +14,11 @@ export default {
|
|||
data: () => ({
|
||||
mobileActivePanel: 'timeline'
|
||||
}),
|
||||
created () {
|
||||
if (this.$store.state.config.savedTheme) {
|
||||
this.$store.dispatch('setOption', { name: 'theme', value: this.$store.config.savedTheme })
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
currentUser () { return this.$store.state.users.currentUser },
|
||||
background () {
|
||||
|
|
Loading…
Reference in New Issue