forked from vikunja/frontend
Only reload tasks when filtering on due date and due date is set on the updated task
This commit is contained in:
parent
96564ef495
commit
85c3a36e6d
|
@ -250,8 +250,10 @@ function updateTasks(updatedTask: ITask) {
|
|||
}
|
||||
}
|
||||
|
||||
// After a task has been updated, reload tasks to ensure filters are applied to any changes
|
||||
loadTasks()
|
||||
// After a task has been updated, reload tasks to ensure filters are applied to any changes if filters are set
|
||||
if (updatedTask.dueDate !== null && params.value.filter_by.includes('due_date')) {
|
||||
loadTasks()
|
||||
}
|
||||
}
|
||||
|
||||
async function saveTaskPosition(e) {
|
||||
|
|
Loading…
Reference in New Issue