]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
Sort video captions
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / shared / video-caption-add-modal.component.ts
index 5498dac22c912b69fe09a79ab10c977294fccec4..d084a490830a5dd50a494e148e204e54298634ea 100644 (file)
@@ -76,13 +76,8 @@ export class VideoCaptionAddModalComponent extends FormReactive implements OnIni
 
     this.captionAdded.emit({
       language: languageObject,
-      captionfile: this.form.value['captionfile']
+      captionfile: this.form.value[ 'captionfile' ]
     })
-    //
-    // this.form.patchValue({
-    //   language: null,
-    //   captionfile: null
-    // })
 
     this.form.reset()
   }