Skip to content

Commit

Permalink
Merge pull request #663 from aeternity/feature/fix-maintenance-mode
Browse files Browse the repository at this point in the history
App: Subscribe on events before initialLoad
  • Loading branch information
mradkov authored Jun 25, 2020
2 parents 6840f92 + d79e353 commit 40356c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default {
},
},
async created() {
await this.initialLoad();
EventBus.$on('reloadData', () => {
this.reloadData();
});
Expand All @@ -54,6 +53,7 @@ export default {
name: 'maintenance',
}).catch((err) => { console.error(err); });
});
await this.initialLoad();
this.$router.afterEach((to) => {
setTimeout(
() => {
Expand Down

1 comment on commit 40356c1

@mradkov
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.