From 00a446454d4721fc49517815655f6b4f8a17b554 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2016 17:43:40 +0200 Subject: Add tags support to the video list --- client/src/app/videos/shared/video.model.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/src/app/videos/shared') diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index 614403d79..65417f751 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts @@ -9,6 +9,7 @@ export class Video { magnetUri: string; name: string; podUrl: string; + tags: string[]; thumbnailPath: string; private static createByString(author: string, podUrl: string) { @@ -42,6 +43,7 @@ export class Video { magnetUri: string, name: string, podUrl: string, + tags: string[], thumbnailPath: string }) { this.author = hash.author; @@ -53,6 +55,7 @@ export class Video { this.magnetUri = hash.magnetUri; this.name = hash.name; this.podUrl = hash.podUrl; + this.tags = hash.tags; this.thumbnailPath = hash.thumbnailPath; this.by = Video.createByString(hash.author, hash.podUrl); -- cgit v1.2.3