From d79e353a1f4c27d8931a579c29d58f904cdf7850 Mon Sep 17 00:00:00 2001 From: Nikita Cedrik Date: Thu, 25 Jun 2020 12:02:43 +1000 Subject: [PATCH] App: Subscribe on events before initialLoad --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index caa72f906..88e4e1647 100644 --- a/src/App.vue +++ b/src/App.vue @@ -44,7 +44,6 @@ export default { }, }, async created() { - await this.initialLoad(); EventBus.$on('reloadData', () => { this.reloadData(); }); @@ -54,6 +53,7 @@ export default { name: 'maintenance', }).catch((err) => { console.error(err); }); }); + await this.initialLoad(); this.$router.afterEach((to) => { setTimeout( () => {