aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+stats/video/video-stats.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts
index 8200661c3..09ed37799 100644
--- a/client/src/app/+stats/video/video-stats.component.ts
+++ b/client/src/app/+stats/video/video-stats.component.ts
@@ -154,7 +154,9 @@ export class VideoStatsComponent implements OnInit {
154 { 154 {
155 label: $localize`Peak viewers`, 155 label: $localize`Peak viewers`,
156 value: this.numberFormatter.transform(overallStats.viewersPeak), 156 value: this.numberFormatter.transform(overallStats.viewersPeak),
157 moreInfo: $localize`at ${new Date(overallStats.viewersPeakDate).toLocaleString()}` 157 moreInfo: overallStats.viewersPeak !== 0
158 ? $localize`at ${new Date(overallStats.viewersPeakDate).toLocaleString()}`
159 : undefined
158 } 160 }
159 ] 161 ]
160 } 162 }