Merge branch 'fix/profile-not-loading-without-persisted-state' into 'develop'
Fix #324 Profiles sometimes not loading when there's no persisted state Closes #324 See merge request pleroma/pleroma-fe!553
This commit is contained in:
commit
b6bac4d06d
4 changed files with 9 additions and 5 deletions
|
@ -55,7 +55,6 @@ const afterStoreSetup = ({ store, i18n }) => {
|
|||
}
|
||||
|
||||
copyInstanceOption('nsfwCensorImage')
|
||||
copyInstanceOption('theme')
|
||||
copyInstanceOption('background')
|
||||
copyInstanceOption('hidePostStats')
|
||||
copyInstanceOption('hideUserStats')
|
||||
|
@ -96,6 +95,9 @@ const afterStoreSetup = ({ store, i18n }) => {
|
|||
store.dispatch('initializeSocket')
|
||||
}
|
||||
|
||||
return store.dispatch('setTheme', config['theme'])
|
||||
})
|
||||
.then(() => {
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes: routes(store),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue