diff options
| author | Egor Kislitsyn <egor@kislitsyn.com> | 2018-12-07 20:13:36 +0700 |
|---|---|---|
| committer | Egor Kislitsyn <egor@kislitsyn.com> | 2018-12-07 20:13:36 +0700 |
| commit | 11716a7a5381c8f4fe06c869a4a21c52a2120e6c (patch) | |
| tree | e1b5b3ee0aa7605c17adab38904459f192b790f3 /src/main.js | |
| parent | a85d128d3754c97c9124352863ab6bcafd42bf35 (diff) | |
second attempt to add subscribe module and fix race condition
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.js b/src/main.js index 378fe95c..91592191 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,7 @@ import apiModule from './modules/api.js' import configModule from './modules/config.js' import chatModule from './modules/chat.js' import oauthModule from './modules/oauth.js' +import pushNotificationsModule from './modules/pushNotifications.js' import VueTimeago from 'vue-timeago' import VueI18n from 'vue-i18n' @@ -60,12 +61,13 @@ createPersistedState(persistedStateOptions).then((persistedState) => { api: apiModule, config: configModule, chat: chatModule, - oauth: oauthModule + oauth: oauthModule, + pushNotifications: pushNotificationsModule }, plugins: [persistedState], strict: false // Socket modifies itself, let's ignore this for now. // strict: process.env.NODE_ENV !== 'production' }) - afterStoreSetup({store, i18n}) + afterStoreSetup({ store, i18n }) }) |
