From c96d3c8ec51ab52f02adc0f72bd455056713f208 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 10 Oct 2019 14:18:20 -0500 Subject: [PATCH] fix(task-modal): don't submit task without title --- website/client/components/tasks/taskModal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/website/client/components/tasks/taskModal.vue b/website/client/components/tasks/taskModal.vue index cd55e3cdc2..a989d3e7e5 100644 --- a/website/client/components/tasks/taskModal.vue +++ b/website/client/components/tasks/taskModal.vue @@ -920,6 +920,7 @@ export default { } }, async submit () { + if (!this.task.title) return; if (this.newChecklistItem) this.addChecklistItem(); // TODO Fix up permissions on task.group so we don't have to keep doing these hacks