aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
index e46ce6599..5a18cd78a 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
@@ -221,11 +221,12 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
221 isPublishingButtonDisabled () { 221 isPublishingButtonDisabled () {
222 return !this.form.valid || 222 return !this.form.valid ||
223 this.isUpdatingVideo === true || 223 this.isUpdatingVideo === true ||
224 this.videoUploaded !== true 224 this.videoUploaded !== true ||
225 !this.videoUploadedIds.id
225 } 226 }
226 227
227 updateSecondStep () { 228 updateSecondStep () {
228 if (this.checkForm() === false) { 229 if (this.isPublishingButtonDisabled() || !this.checkForm()) {
229 return 230 return
230 } 231 }
231 232