execute load actions synchronously
This commit is contained in:
parent
07ac93a8f7
commit
2f43930bd8
1 changed files with 3 additions and 3 deletions
|
@ -71,6 +71,6 @@ const store = new Vuex.Store({
|
|||
|
||||
export default store;
|
||||
|
||||
store.dispatch('loadEvents');
|
||||
store.dispatch('loadEventItems');
|
||||
store.dispatch('loadBoxes');
|
||||
store.dispatch('loadEvents').then(() =>
|
||||
store.dispatch('loadEventItems')
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue