aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-update.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-03 14:10:54 +0100
committerChocobozzz <me@florianbigard.com>2020-12-03 15:21:16 +0100
commitbb4ba6d94c5051fdd665ebe63fffcc105778b8be (patch)
treed39302608c53e31395683bb5dd551eac6ced89f8 /client/src/app/+videos/+video-edit/video-update.component.ts
parent19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6 (diff)
downloadPeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.gz
PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.zst
PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.zip
Add permanent live support
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.ts6
1 files changed, 4 insertions, 2 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 e37163ca9..30c82343b 100644
--- a/client/src/app/+videos/+video-edit/video-update.component.ts
+++ b/client/src/app/+videos/+video-edit/video-update.component.ts
@@ -64,7 +64,8 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
64 64
65 if (this.liveVideo) { 65 if (this.liveVideo) {
66 this.form.patchValue({ 66 this.form.patchValue({
67 saveReplay: this.liveVideo.saveReplay 67 saveReplay: this.liveVideo.saveReplay,
68 permanentLive: this.liveVideo.permanentLive
68 }) 69 })
69 } 70 }
70 }) 71 })
@@ -114,7 +115,8 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
114 this.video.patch(this.form.value) 115 this.video.patch(this.form.value)
115 116
116 const liveVideoUpdate: LiveVideoUpdate = { 117 const liveVideoUpdate: LiveVideoUpdate = {
117 saveReplay: this.form.value.saveReplay 118 saveReplay: this.form.value.saveReplay,
119 permanentLive: this.form.value.permanentLive
118 } 120 }
119 121
120 this.loadingBar.useRef().start() 122 this.loadingBar.useRef().start()