summaryrefslogtreecommitdiff
path: root/src/layouts/AppLayout.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/AppLayout.vue')
-rw-r--r--src/layouts/AppLayout.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index fa9c212f..4f242632 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -47,7 +47,7 @@ export default {
this.$root.$on('refresh-application', () => this.refresh());
setInterval(() => {
if (!localStorage.getItem('storedUsername')) {
- this.$eventBus.$consoleWindow.close();
+ this.$eventBus.$consoleWindow?.close();
this.refresh();
}
}, 10000);