fix(task): stop loading when no list was specified while creating a task
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')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user