]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-edit/shared/video-edit.component.ts
refactor 404 page
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / shared / video-edit.component.ts
index 26d871e59307484b985916b4aac786bd703804c4..de78a18cc6ba1319fc4185e0a70f836431d4f09a 100644 (file)
@@ -102,6 +102,16 @@ export class VideoEditComponent implements OnInit, OnDestroy {
                .map(c => c.language.id)
   }
 
+  isWaitTranscodingDisplayed () {
+    if (!this.waitTranscodingEnabled) return false
+
+    if (this.liveVideo) {
+      return this.form.value['saveReplay'] === true
+    }
+
+    return true
+  }
+
   updateForm () {
     const defaultValues: any = {
       nsfw: 'false',