diff --git a/src/stores/tasks.ts b/src/stores/tasks.ts index 3ed7d52ea..e28252f24 100644 --- a/src/stores/tasks.ts +++ b/src/stores/tasks.ts @@ -385,6 +385,7 @@ export const useTaskStore = defineStore('task', { }) if(foundListId === null || foundListId === 0) { + cancel() throw new Error('NO_LIST') }