1
0

fix: reset all tasks before loading new ones

This commit is contained in:
kolaente
2022-04-03 14:25:29 +02:00
parent b2897545e4
commit 480bfbceef

View File

@ -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
}