Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Force update live boolean

Chocobozzz5d84d717b246
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 f27ebd20e5..654901798b 100644
--- a/client/src/app/+videos/+video-edit/video-update.component.ts
+++ b/client/src/app/+videos/+video-edit/video-update.component.ts
@@ -137,13 +137,10 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
if (!this.liveVideo) return of(undefined)
const liveVideoUpdate: LiveVideoUpdate = {
- saveReplay: this.form.value.saveReplay,
- permanentLive: this.form.value.permanentLive
+ saveReplay: !!this.form.value.saveReplay,
+ permanentLive: !!this.form.value.permanentLive
}
- console.log(liveVideoUpdate)
- console.log(this.form.value)
-
// Don't update live attributes if they did not change
const liveChanged = Object.keys(liveVideoUpdate)
.some(key => this.liveVideo[key] !== liveVideoUpdate[key])