fix(task): stop loading when no list was specified while creating a task
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
80230069c6
commit
d7048d589e
|
@ -385,6 +385,7 @@ export const useTaskStore = defineStore('task', {
|
||||||
})
|
})
|
||||||
|
|
||||||
if(foundListId === null || foundListId === 0) {
|
if(foundListId === null || foundListId === 0) {
|
||||||
|
cancel()
|
||||||
throw new Error('NO_LIST')
|
throw new Error('NO_LIST')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user