From f18a060a83d7053897173b2a24fb7984893131c7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 May 2022 13:47:51 +0200 Subject: Remove comments, rates and views from stats It prevent us to apply date filters --- client/src/app/+stats/video/video-stats.component.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'client/src/app/+stats/video') diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 09ed37799..a5435fe23 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -137,15 +137,11 @@ export class VideoStatsComponent implements OnInit { this.overallStatCards = [ { label: $localize`Views`, - value: this.numberFormatter.transform(overallStats.views) - }, - { - label: $localize`Comments`, - value: this.numberFormatter.transform(overallStats.comments) + value: this.numberFormatter.transform(this.video.views) }, { label: $localize`Likes`, - value: this.numberFormatter.transform(overallStats.likes) + value: this.numberFormatter.transform(this.video.likes) }, { label: $localize`Average watch time`, -- cgit v1.2.3