fix(task-modal): don't submit task without title

This commit is contained in:
Sabe Jones 2019-10-10 14:18:20 -05:00
parent 4b0ce7ffc1
commit c96d3c8ec5

View file

@ -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