Connect only after-store instead of when user gets token
This commit is contained in:
parent
4185452b52
commit
41c4d59341
3 changed files with 13 additions and 4 deletions
|
@ -89,6 +89,8 @@ const afterStoreSetup = ({ store, i18n }) => {
|
|||
|
||||
if ((config.chatDisabled)) {
|
||||
store.dispatch('disableChat')
|
||||
} else {
|
||||
store.dispatch('initializeSocket')
|
||||
}
|
||||
|
||||
const router = new VueRouter({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue