Add deep to home watcher
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user