fix(task wizard): don't re-trigger parsed task evaluation when saving a task

This commit is contained in:
kolaente 2022-09-22 18:33:31 +02:00
parent a2b9971e67
commit a712c2b514
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -97,12 +97,11 @@ async function create() {
}
errorMessage.value = ''
newTask.value.listId = props.listId
newTask.value.title = parsedTask.value.text
const assignees = await findAssignees(parsedTask.value.assignees)
const finalTask = new TaskModel({
...newTask.value,
listId: props.listId,
title: parsedTask.value.text,
dueDate: newTask.value.dueDate !== null ? formatISO(newTask.value.dueDate) : null,
priority: parsedTask.value.priority,