fix: reset all tasks before loading new ones
This commit is contained in:
parent
b2897545e4
commit
480bfbceef
@ -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…
x
Reference in New Issue
Block a user