fix(task): stop loading when no list was specified while creating a task
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-10-23 13:58:40 +02:00
parent 80230069c6
commit d7048d589e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

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