From 305ec384966303bbcedb72b905c5ec4f32d9c7ad Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 May 2022 09:18:39 +0200 Subject: Add total viewers overall stat --- client/src/app/+stats/video/video-stats.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/src/app/+stats/video/video-stats.component.ts') diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 51738f8dc..4ce14902d 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -223,7 +223,7 @@ export class VideoStatsComponent implements OnInit { private buildLiveFilter (session: LiveVideoSession) { return { id: session.startDate + '|' + session.endDate, - label: $localize`Of live of ${new Date(session.startDate).toLocaleString()}` + label: $localize`Live as of ${new Date(session.startDate).toLocaleString()}` } } @@ -276,6 +276,10 @@ export class VideoStatsComponent implements OnInit { moreInfo: overallStats.viewersPeak !== 0 ? $localize`at ${new Date(overallStats.viewersPeakDate).toLocaleString()}` : undefined + }, + { + label: $localize`Unique viewers`, + value: this.numberFormatter.transform(overallStats.totalViewers) } ] -- cgit v1.2.3