fix: reset all tasks before loading new ones
This commit is contained in:
parent
b2897545e4
commit
480bfbceef
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ export function useTaskList(listId) {
|
|||
|
||||
const tasks = ref([])
|
||||
async function loadTasks() {
|
||||
tasks.value = []
|
||||
tasks.value = await taskCollectionService.getAll(...getAllTasksParams.value)
|
||||
return tasks.value
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue