diff options
| author | Edijs <iamedijs@hotmail.com> | 2019-03-13 15:24:09 -0700 |
|---|---|---|
| committer | Edijs <iamedijs@hotmail.com> | 2019-03-13 15:24:09 -0700 |
| commit | 3c5c09c74fa80994635a6c8055c2f81c81f27318 (patch) | |
| tree | 68b7deb08e050ee80a17a21ceadb854e5111622f /src/main.js | |
| parent | 9c60934786f0ca11d64550b1f290e1e8d63d8b9d (diff) | |
| parent | 9fd44e4a520289b316c653f1cea2f4d1b6607b55 (diff) | |
Merge branch 'develop' into feature/version-info
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js index a3265e3a..9ffc3727 100644 --- a/src/main.js +++ b/src/main.js @@ -53,9 +53,10 @@ const persistedStateOptions = { 'users.lastLoginName', 'oauth' ] -} +}; -createPersistedState(persistedStateOptions).then((persistedState) => { +(async () => { + const persistedState = await createPersistedState(persistedStateOptions) const store = new Vuex.Store({ modules: { interface: interfaceModule, @@ -75,7 +76,7 @@ createPersistedState(persistedStateOptions).then((persistedState) => { }) afterStoreSetup({ store, i18n }) -}) +})() // These are inlined by webpack's DefinePlugin /* eslint-disable */ |
