1
0

fix(task): stop loading when no list was specified while creating a task

This commit is contained in:
kolaente
2022-10-23 13:58:40 +02:00
parent 80230069c6
commit d7048d589e

View File

@ -385,6 +385,7 @@ export const useTaskStore = defineStore('task', {
})
if(foundListId === null || foundListId === 0) {
cancel()
throw new Error('NO_LIST')
}