diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/video/video-edit.model.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-edit.model.ts b/client/src/app/shared/video/video-edit.model.ts index e385004e5..5bb0510f9 100644 --- a/client/src/app/shared/video/video-edit.model.ts +++ b/client/src/app/shared/video/video-edit.model.ts | |||
@@ -27,7 +27,15 @@ 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, downloadEnabled: boolean, support: string, thumbnailUrl: string, previewUrl: string }) { | 30 | constructor ( |
31 | video?: Video & { | ||
32 | tags: string[], | ||
33 | commentsEnabled: boolean, | ||
34 | downloadEnabled: boolean, | ||
35 | support: string, | ||
36 | thumbnailUrl: string, | ||
37 | previewUrl: string | ||
38 | }) { | ||
31 | if (video) { | 39 | if (video) { |
32 | this.id = video.id | 40 | this.id = video.id |
33 | this.uuid = video.uuid | 41 | this.uuid = video.uuid |