diff options
Diffstat (limited to 'src/layouts/AppLayout.vue')
-rw-r--r-- | src/layouts/AppLayout.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index 228b25cd..c2023dfb 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -48,6 +48,9 @@ export default { }); }, }, + mounted() { + this.$root.$on('refresh-application', () => this.refresh()); + }, methods: { refresh() { // Changing the component :key value will trigger |