aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
index 2ea70ed55..0c78669c1 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
@@ -124,10 +124,8 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, AfterV
124 }) 124 })
125 } 125 }
126 126
127 updateSecondStep () { 127 async updateSecondStep () {
128 if (this.checkForm() === false) { 128 if (!await this.isFormValid()) return
129 return
130 }
131 129
132 this.video.patch(this.form.value) 130 this.video.patch(this.form.value)
133 131