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.ts8
1 files changed, 2 insertions, 6 deletions
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 {
137 this.overallStatCards = [ 137 this.overallStatCards = [
138 { 138 {
139 label: $localize`Views`, 139 label: $localize`Views`,
140 value: this.numberFormatter.transform(overallStats.views) 140 value: this.numberFormatter.transform(this.video.views)
141 },
142 {
143 label: $localize`Comments`,
144 value: this.numberFormatter.transform(overallStats.comments)
145 }, 141 },
146 { 142 {
147 label: $localize`Likes`, 143 label: $localize`Likes`,
148 value: this.numberFormatter.transform(overallStats.likes) 144 value: this.numberFormatter.transform(this.video.likes)
149 }, 145 },
150 { 146 {
151 label: $localize`Average watch time`, 147 label: $localize`Average watch time`,