diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-26 10:56:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-26 10:56:55 +0100 |
commit | ddb62a85c5517d3437feb7d487a8a11881b68fcb (patch) | |
tree | b27bc798a85224a2fe5406ef5a9be49d17b48d66 /client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts | |
parent | e08ff02a9f1fb1cfbdfa8f0f602eda9419ba6cc3 (diff) | |
download | PeerTube-ddb62a85c5517d3437feb7d487a8a11881b68fcb.tar.gz PeerTube-ddb62a85c5517d3437feb7d487a8a11881b68fcb.tar.zst PeerTube-ddb62a85c5517d3437feb7d487a8a11881b68fcb.zip |
Fix wait transcoding checkbox display
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts index 67d055f06..8780ca567 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts | |||
@@ -137,6 +137,10 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, CanCompon | |||
137 | return this.serverConfig.live.maxDuration / 1000 | 137 | return this.serverConfig.live.maxDuration / 1000 |
138 | } | 138 | } |
139 | 139 | ||
140 | isWaitTranscodingEnabled () { | ||
141 | return this.form.value['saveReplay'] === true | ||
142 | } | ||
143 | |||
140 | private fetchVideoLive () { | 144 | private fetchVideoLive () { |
141 | this.liveVideoService.getVideoLive(this.videoId) | 145 | this.liveVideoService.getVideoLive(this.videoId) |
142 | .subscribe( | 146 | .subscribe( |