aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-03-23 22:21:57 +0200
committershpuld <shp@cock.li>2019-03-23 22:21:57 +0200
commitfd12263cacd2a869ad61dd8580f918b45d9b2a51 (patch)
treec70c4e548923d97893ab6a875cc354cd6895f8e8 /src/main.js
parent85584021fb1042a8934945d73f7d25b38f1c29d1 (diff)
parentf86a5dc80421f496a893efaa98f12f831da0adcb (diff)
merge develop in
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 */