diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/app/shared/shared-main/video/video-edit.model.ts | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/app/shared/shared-main/video/video-edit.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video-edit.model.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-main/video/video-edit.model.ts b/client/src/app/shared/shared-main/video/video-edit.model.ts index 757b686c0..ea0456942 100644 --- a/client/src/app/shared/shared-main/video/video-edit.model.ts +++ b/client/src/app/shared/shared-main/video/video-edit.model.ts | |||
@@ -29,11 +29,11 @@ export class VideoEdit implements VideoUpdate { | |||
29 | 29 | ||
30 | constructor ( | 30 | constructor ( |
31 | video?: Video & { | 31 | video?: Video & { |
32 | tags: string[], | 32 | tags: string[] |
33 | commentsEnabled: boolean, | 33 | commentsEnabled: boolean |
34 | downloadEnabled: boolean, | 34 | downloadEnabled: boolean |
35 | support: string, | 35 | support: string |
36 | thumbnailUrl: string, | 36 | thumbnailUrl: string |
37 | previewUrl: string | 37 | previewUrl: string |
38 | }) { | 38 | }) { |
39 | if (video) { | 39 | if (video) { |
@@ -64,7 +64,7 @@ export class VideoEdit implements VideoUpdate { | |||
64 | 64 | ||
65 | patch (values: { [ id: string ]: any }) { | 65 | patch (values: { [ id: string ]: any }) { |
66 | Object.keys(values).forEach((key) => { | 66 | Object.keys(values).forEach((key) => { |
67 | this[ key ] = values[ key ] | 67 | this[key] = values[key] |
68 | }) | 68 | }) |
69 | 69 | ||
70 | // If schedule publication, the video is private and will be changed to public privacy | 70 | // If schedule publication, the video is private and will be changed to public privacy |