aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/video/video-details.model.ts1
-rw-r--r--client/src/app/shared/video/video.model.ts2
2 files changed, 1 insertions, 2 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
diff --git a/client/src/app/shared/video/video.model.ts b/client/src/app/shared/video/video.model.ts
index 32c33829d..c3759cb65 100644
--- a/client/src/app/shared/video/video.model.ts
+++ b/client/src/app/shared/video/video.model.ts
@@ -22,7 +22,6 @@ export class Video implements VideoServerModel {
22 isLocal: boolean 22 isLocal: boolean
23 name: string 23 name: string
24 serverHost: string 24 serverHost: string
25 tags: string[]
26 thumbnailPath: string 25 thumbnailPath: string
27 thumbnailUrl: string 26 thumbnailUrl: string
28 previewPath: string 27 previewPath: string
@@ -71,7 +70,6 @@ export class Video implements VideoServerModel {
71 this.isLocal = hash.isLocal 70 this.isLocal = hash.isLocal
72 this.name = hash.name 71 this.name = hash.name
73 this.serverHost = hash.serverHost 72 this.serverHost = hash.serverHost
74 this.tags = hash.tags
75 this.thumbnailPath = hash.thumbnailPath 73 this.thumbnailPath = hash.thumbnailPath
76 this.thumbnailUrl = absoluteAPIUrl + hash.thumbnailPath 74 this.thumbnailUrl = absoluteAPIUrl + hash.thumbnailPath
77 this.previewPath = hash.previewPath 75 this.previewPath = hash.previewPath