fix(tasks): add new task only once to list when added

Fixes a regression introduced in 2ac11b13a1
This commit is contained in:
kolaente
2024-12-11 18:42:07 +01:00
parent 6f9b0ddfe7
commit a1cf2b8bc7

View File

@@ -198,7 +198,6 @@ async function addTask() {
const isParent = allParentTasks.includes(t.title)
if (t.parent === null && !isParent) {
emit('taskAdded', createdTask)
return
}