fix(task wizard): don't re-trigger parsed task evaluation when saving a task
This commit is contained in:
parent
a2b9971e67
commit
a712c2b514
1 changed files with 1 additions and 2 deletions
|
@ -97,12 +97,11 @@ async function create() {
|
||||||
}
|
}
|
||||||
errorMessage.value = ''
|
errorMessage.value = ''
|
||||||
|
|
||||||
newTask.value.listId = props.listId
|
|
||||||
newTask.value.title = parsedTask.value.text
|
|
||||||
const assignees = await findAssignees(parsedTask.value.assignees)
|
const assignees = await findAssignees(parsedTask.value.assignees)
|
||||||
|
|
||||||
const finalTask = new TaskModel({
|
const finalTask = new TaskModel({
|
||||||
...newTask.value,
|
...newTask.value,
|
||||||
|
listId: props.listId,
|
||||||
title: parsedTask.value.text,
|
title: parsedTask.value.text,
|
||||||
dueDate: newTask.value.dueDate !== null ? formatISO(newTask.value.dueDate) : null,
|
dueDate: newTask.value.dueDate !== null ? formatISO(newTask.value.dueDate) : null,
|
||||||
priority: parsedTask.value.priority,
|
priority: parsedTask.value.priority,
|
||||||
|
|
Loading…
Reference in a new issue