diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-update.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.component.ts | 2 |
1 files changed, 2 insertions, 0 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 02398a036..412b43967 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.ts +++ b/client/src/app/+videos/+video-edit/video-update.component.ts | |||
@@ -67,6 +67,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
67 | if (this.liveVideo) { | 67 | if (this.liveVideo) { |
68 | this.form.patchValue({ | 68 | this.form.patchValue({ |
69 | saveReplay: this.liveVideo.saveReplay, | 69 | saveReplay: this.liveVideo.saveReplay, |
70 | replayPrivacy: this.liveVideo.replaySettings ? this.liveVideo.replaySettings.privacy : VideoPrivacy.PRIVATE, | ||
70 | latencyMode: this.liveVideo.latencyMode, | 71 | latencyMode: this.liveVideo.latencyMode, |
71 | permanentLive: this.liveVideo.permanentLive | 72 | permanentLive: this.liveVideo.permanentLive |
72 | }) | 73 | }) |
@@ -127,6 +128,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
127 | 128 | ||
128 | const liveVideoUpdate: LiveVideoUpdate = { | 129 | const liveVideoUpdate: LiveVideoUpdate = { |
129 | saveReplay: !!this.form.value.saveReplay, | 130 | saveReplay: !!this.form.value.saveReplay, |
131 | replaySettings: { privacy: this.form.value.replayPrivacy }, | ||
130 | permanentLive: !!this.form.value.permanentLive, | 132 | permanentLive: !!this.form.value.permanentLive, |
131 | latencyMode: this.form.value.latencyMode | 133 | latencyMode: this.form.value.latencyMode |
132 | } | 134 | } |