diff --git a/web/frontend/src/components/Home.vue b/web/frontend/src/components/Home.vue index 5842453..7394e8f 100644 --- a/web/frontend/src/components/Home.vue +++ b/web/frontend/src/components/Home.vue @@ -119,7 +119,7 @@ export default class Home extends Vue { }); } - mounted(): void { + created(): void { this.updateStats(); this.updaterHandle = setInterval(() => { @@ -127,7 +127,7 @@ export default class Home extends Vue { }, 5000); } - unmounted(): void { + beforeDestroy(): void { clearInterval(this.updaterHandle); } }