fix: reset all tasks before loading new ones
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-04-03 14:25:29 +02:00
parent b2897545e4
commit 480bfbceef
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

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
}