Connect only after-store instead of when user gets token

This commit is contained in:
shpuld 2019-01-29 17:16:25 +02:00
parent 4185452b52
commit 41c4d59341
3 changed files with 13 additions and 4 deletions

View file

@ -89,6 +89,8 @@ const afterStoreSetup = ({ store, i18n }) => {
if ((config.chatDisabled)) {
store.dispatch('disableChat')
} else {
store.dispatch('initializeSocket')
}
const router = new VueRouter({