diff options
Diffstat (limited to 'client/src/app/shared/video/video-edit.model.ts')
-rw-r--r-- | client/src/app/shared/video/video-edit.model.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/video/video-edit.model.ts b/client/src/app/shared/video/video-edit.model.ts index 47703ff79..e385004e5 100644 --- a/client/src/app/shared/video/video-edit.model.ts +++ b/client/src/app/shared/video/video-edit.model.ts | |||
@@ -14,7 +14,7 @@ export class VideoEdit implements VideoUpdate { | |||
14 | tags: string[] | 14 | tags: string[] |
15 | nsfw: boolean | 15 | nsfw: boolean |
16 | commentsEnabled: boolean | 16 | commentsEnabled: boolean |
17 | downloadingEnabled: boolean | 17 | downloadEnabled: boolean |
18 | waitTranscoding: boolean | 18 | waitTranscoding: boolean |
19 | channelId: number | 19 | channelId: number |
20 | privacy: VideoPrivacy | 20 | privacy: VideoPrivacy |
@@ -27,7 +27,7 @@ export class VideoEdit implements VideoUpdate { | |||
27 | id?: number | 27 | id?: number |
28 | scheduleUpdate?: VideoScheduleUpdate | 28 | scheduleUpdate?: VideoScheduleUpdate |
29 | 29 | ||
30 | constructor (video?: Video & { tags: string[], commentsEnabled: boolean, downloadingEnabled: boolean, support: string, thumbnailUrl: string, previewUrl: string }) { | 30 | constructor (video?: Video & { tags: string[], commentsEnabled: boolean, downloadEnabled: boolean, support: string, thumbnailUrl: string, previewUrl: string }) { |
31 | if (video) { | 31 | if (video) { |
32 | this.id = video.id | 32 | this.id = video.id |
33 | this.uuid = video.uuid | 33 | this.uuid = video.uuid |
@@ -39,7 +39,7 @@ export class VideoEdit implements VideoUpdate { | |||
39 | this.tags = video.tags | 39 | this.tags = video.tags |
40 | this.nsfw = video.nsfw | 40 | this.nsfw = video.nsfw |
41 | this.commentsEnabled = video.commentsEnabled | 41 | this.commentsEnabled = video.commentsEnabled |
42 | this.downloadingEnabled = video.downloadingEnabled | 42 | this.downloadEnabled = video.downloadEnabled |
43 | this.waitTranscoding = video.waitTranscoding | 43 | this.waitTranscoding = video.waitTranscoding |
44 | this.channelId = video.channel.id | 44 | this.channelId = video.channel.id |
45 | this.privacy = video.privacy.id | 45 | this.privacy = video.privacy.id |
@@ -82,7 +82,7 @@ export class VideoEdit implements VideoUpdate { | |||
82 | tags: this.tags, | 82 | tags: this.tags, |
83 | nsfw: this.nsfw, | 83 | nsfw: this.nsfw, |
84 | commentsEnabled: this.commentsEnabled, | 84 | commentsEnabled: this.commentsEnabled, |
85 | downloadingEnabled: this.downloadingEnabled, | 85 | downloadEnabled: this.downloadEnabled, |
86 | waitTranscoding: this.waitTranscoding, | 86 | waitTranscoding: this.waitTranscoding, |
87 | channelId: this.channelId, | 87 | channelId: this.channelId, |
88 | privacy: this.privacy | 88 | privacy: this.privacy |