aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-details.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/video/video-details.model.ts')
-rw-r--r--client/src/app/shared/video/video-details.model.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video-details.model.ts b/client/src/app/shared/video/video-details.model.ts
index b96f8f6c8..d51bc01a7 100644
--- a/client/src/app/shared/video/video-details.model.ts
+++ b/client/src/app/shared/video/video-details.model.ts
@@ -58,6 +58,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
58 this.files = hash.files 58 this.files = hash.files
59 this.channel = hash.channel 59 this.channel = hash.channel
60 this.account = hash.account 60 this.account = hash.account
61 this.tags = hash.tags
61 62
62 this.likesPercent = (this.likes / (this.likes + this.dislikes)) * 100 63 this.likesPercent = (this.likes / (this.likes + this.dislikes)) * 100
63 this.dislikesPercent = (this.dislikes / (this.likes + this.dislikes)) * 100 64 this.dislikesPercent = (this.dislikes / (this.likes + this.dislikes)) * 100