aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+video-studio/edit/video-studio-edit.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+video-studio/edit/video-studio-edit.component.ts b/client/src/app/+video-studio/edit/video-studio-edit.component.ts
index dad083bf9..94f7b5d0b 100644
--- a/client/src/app/+video-studio/edit/video-studio-edit.component.ts
+++ b/client/src/app/+video-studio/edit/video-studio-edit.component.ts
@@ -69,6 +69,8 @@ export class VideoStudioEditComponent extends FormReactive implements OnInit {
69 69
70 async runEdition () { 70 async runEdition () {
71 if (this.isRunningEdition) return 71 if (this.isRunningEdition) return
72 if (!this.form.valid) return
73 if (this.noEdition()) return
72 74
73 const title = $localize`Are you sure you want to edit "${this.video.name}"?` 75 const title = $localize`Are you sure you want to edit "${this.video.name}"?`
74 const listHTML = this.getTasksSummary().map(t => `<li>${t}</li>`).join('') 76 const listHTML = this.getTasksSummary().map(t => `<li>${t}</li>`).join('')