Fix dislikes number in video watch page
authorChocobozzz <me@florianbigard.com>
Mon, 11 Jun 2018 13:27:34 +0000 (15:27 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 11 Jun 2018 13:27:34 +0000 (15:27 +0200)
client/src/app/videos/+video-watch/video-watch.component.ts

index 7ba8d1fa444097b2320fe035e698cdeb20976684..0f4f5ce892c52ab407a1d484a3b51acf8857f0d8 100644 (file)
@@ -296,7 +296,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
   private setVideoLikesBarTooltipText () {
     this.likesBarTooltipText = this.i18n(
       '{{likesNumber}} likes / {{dislikesNumber}} dislikes',
-      { likesNumber: this.video.likes, dislikes: this.video.dislikes }
+      { likesNumber: this.video.likes, dislikesNumber: this.video.dislikes }
     )
   }