Ignore trying to tell if filters are set since it doesn't work for saved lists

This commit is contained in:
Sean Hurley 2023-02-17 21:24:12 -07:00
parent 6cb0832e92
commit c4b5e168af
1 changed files with 2 additions and 2 deletions

View File

@ -260,8 +260,8 @@ function updateTasks(updatedTask: ITask) {
// FIXME: Use computed
sortTasks(tasks.value)
// 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')) {
// After a task has been updated, reload tasks to ensure filters are applied if due date changes
if (updatedTask.dueDate !== null) {
loadTasks()
}
}