aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorEdijs <iamedijs@hotmail.com>2019-03-13 15:24:09 -0700
committerEdijs <iamedijs@hotmail.com>2019-03-13 15:24:09 -0700
commit3c5c09c74fa80994635a6c8055c2f81c81f27318 (patch)
tree68b7deb08e050ee80a17a21ceadb854e5111622f /src/main.js
parent9c60934786f0ca11d64550b1f290e1e8d63d8b9d (diff)
parent9fd44e4a520289b316c653f1cea2f4d1b6607b55 (diff)
Merge branch 'develop' into feature/version-info
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js7
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 */