From 2f43930bd88b77bcafcf3f79020b9ae214aa8fe6 Mon Sep 17 00:00:00 2001 From: busti Date: Thu, 12 Dec 2019 19:26:58 +0100 Subject: [PATCH] execute load actions synchronously --- src/store/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 29057ee..34f61da 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -71,6 +71,6 @@ const store = new Vuex.Store({ export default store; -store.dispatch('loadEvents'); -store.dispatch('loadEventItems'); -store.dispatch('loadBoxes'); \ No newline at end of file +store.dispatch('loadEvents').then(() => + store.dispatch('loadEventItems') +);