mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
fix(task-modal): don't submit task without title
This commit is contained in:
parent
4b0ce7ffc1
commit
c96d3c8ec5
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue