diff options
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 | 6 |
1 files changed, 2 insertions, 4 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 46a7ebb0b..fde8c884b 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 | |||
@@ -110,10 +110,8 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView | |||
110 | }) | 110 | }) |
111 | } | 111 | } |
112 | 112 | ||
113 | updateSecondStep () { | 113 | async updateSecondStep () { |
114 | if (this.checkForm() === false) { | 114 | if (!await this.isFormValid()) return |
115 | return | ||
116 | } | ||
117 | 115 | ||
118 | const video = new VideoEdit() | 116 | const video = new VideoEdit() |
119 | video.patch(this.form.value) | 117 | video.patch(this.form.value) |