From 480bfbceeff3ea682d26bb719fc17195172beaf3 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 3 Apr 2022 14:25:29 +0200 Subject: [PATCH] fix: reset all tasks before loading new ones --- src/composables/taskList.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/composables/taskList.ts b/src/composables/taskList.ts index e80c5cbe1..e32e25303 100644 --- a/src/composables/taskList.ts +++ b/src/composables/taskList.ts @@ -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 }