diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 20:26:06 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 20:26:06 +0100 |
commit | 2de96f4d6b800076743ed2073f9529816cfd5c8a (patch) | |
tree | 8c2dbd29fe5560e0b24edaa58038581bddd49778 /client/src/app/videos/shared/video-details.model.ts | |
parent | 8bf89b095a711d5ac5e6ef55575b166257d0d526 (diff) | |
download | PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.gz PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.zst PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.zip |
Lazy description and previews to video form
Diffstat (limited to 'client/src/app/videos/shared/video-details.model.ts')
-rw-r--r-- | client/src/app/videos/shared/video-details.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/shared/video-details.model.ts b/client/src/app/videos/shared/video-details.model.ts index 3a6ecc480..68ded5210 100644 --- a/client/src/app/videos/shared/video-details.model.ts +++ b/client/src/app/videos/shared/video-details.model.ts | |||
@@ -38,12 +38,14 @@ export class VideoDetails extends Video implements VideoDetailsServerModel { | |||
38 | likes: number | 38 | likes: number |
39 | dislikes: number | 39 | dislikes: number |
40 | nsfw: boolean | 40 | nsfw: boolean |
41 | descriptionPath: string | ||
41 | files: VideoFile[] | 42 | files: VideoFile[] |
42 | channel: VideoChannel | 43 | channel: VideoChannel |
43 | 44 | ||
44 | constructor (hash: VideoDetailsServerModel) { | 45 | constructor (hash: VideoDetailsServerModel) { |
45 | super(hash) | 46 | super(hash) |
46 | 47 | ||
48 | this.descriptionPath = hash.descriptionPath | ||
47 | this.files = hash.files | 49 | this.files = hash.files |
48 | this.channel = hash.channel | 50 | this.channel = hash.channel |
49 | } | 51 | } |