diff options
Diffstat (limited to 'client/src/app/videos/shared/video-details.model.ts')
-rw-r--r-- | client/src/app/videos/shared/video-details.model.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/videos/shared/video-details.model.ts b/client/src/app/videos/shared/video-details.model.ts index 68ded5210..84f96a25f 100644 --- a/client/src/app/videos/shared/video-details.model.ts +++ b/client/src/app/videos/shared/video-details.model.ts | |||
@@ -5,7 +5,8 @@ import { | |||
5 | VideoFile, | 5 | VideoFile, |
6 | VideoChannel, | 6 | VideoChannel, |
7 | VideoResolution, | 7 | VideoResolution, |
8 | UserRight | 8 | UserRight, |
9 | VideoPrivacy | ||
9 | } from '../../../../../shared' | 10 | } from '../../../../../shared' |
10 | 11 | ||
11 | export class VideoDetails extends Video implements VideoDetailsServerModel { | 12 | export class VideoDetails extends Video implements VideoDetailsServerModel { |
@@ -41,10 +42,14 @@ export class VideoDetails extends Video implements VideoDetailsServerModel { | |||
41 | descriptionPath: string | 42 | descriptionPath: string |
42 | files: VideoFile[] | 43 | files: VideoFile[] |
43 | channel: VideoChannel | 44 | channel: VideoChannel |
45 | privacy: VideoPrivacy | ||
46 | privacyLabel: string | ||
44 | 47 | ||
45 | constructor (hash: VideoDetailsServerModel) { | 48 | constructor (hash: VideoDetailsServerModel) { |
46 | super(hash) | 49 | super(hash) |
47 | 50 | ||
51 | this.privacy = hash.privacy | ||
52 | this.privacyLabel = hash.privacyLabel | ||
48 | this.descriptionPath = hash.descriptionPath | 53 | this.descriptionPath = hash.descriptionPath |
49 | this.files = hash.files | 54 | this.files = hash.files |
50 | this.channel = hash.channel | 55 | this.channel = hash.channel |