diff --git a/web/frontend/src/components/Home.vue b/web/frontend/src/components/Home.vue index 20baa3e..5285edb 100644 --- a/web/frontend/src/components/Home.vue +++ b/web/frontend/src/components/Home.vue @@ -57,7 +57,7 @@ interface TotalStatsResult { export default class Home extends Vue { totalStats?: TotalStatsResult[]; - @Watch('totalStats') + @Watch('totalStats', { immediate: true, deep: true }) getStat(key: TotalStatsHeaders): string | undefined { const result = this.totalStats?.find((elem) => elem.name === key); if (result) {