diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-20 20:20:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-20 20:20:09 +0200 |
commit | b632e9049fccea12c016556cfef3ab621aa683d2 (patch) | |
tree | d1c8428c100b397174b59acc96bdf17611abae00 /client/src/app/videos/video-watch | |
parent | a988e81c0e5faf0be58d303448659e9697c40901 (diff) | |
download | PeerTube-b632e9049fccea12c016556cfef3ab621aa683d2.tar.gz PeerTube-b632e9049fccea12c016556cfef3ab621aa683d2.tar.zst PeerTube-b632e9049fccea12c016556cfef3ab621aa683d2.zip |
Fix client compilation
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 808e0eda9..9882ddce8 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -249,7 +249,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
249 | 249 | ||
250 | this.videoService.getUserVideoRating(this.video.id) | 250 | this.videoService.getUserVideoRating(this.video.id) |
251 | .subscribe( | 251 | .subscribe( |
252 | (ratingObject: UserVideoRate) => { | 252 | ratingObject => { |
253 | if (ratingObject) { | 253 | if (ratingObject) { |
254 | this.userRating = ratingObject.rating | 254 | this.userRating = ratingObject.rating |
255 | } | 255 | } |