diff options
Diffstat (limited to 'client/src/app/videos/+video-edit')
-rw-r--r-- | client/src/app/videos/+video-edit/video-update.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index 2fc09278c..6cd204f72 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts | |||
@@ -72,7 +72,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
72 | ] | 72 | ] |
73 | 73 | ||
74 | // We cannot set private a video that was not private | 74 | // We cannot set private a video that was not private |
75 | if (video.privacy !== VideoPrivacy.PRIVATE) { | 75 | if (video.privacy.id !== VideoPrivacy.PRIVATE) { |
76 | const newVideoPrivacies = [] | 76 | const newVideoPrivacies = [] |
77 | for (const p of this.videoPrivacies) { | 77 | for (const p of this.videoPrivacies) { |
78 | if (p.id !== VideoPrivacy.PRIVATE) newVideoPrivacies.push(p) | 78 | if (p.id !== VideoPrivacy.PRIVATE) newVideoPrivacies.push(p) |