fix: don't push a select event when nothing was selected
This commit is contained in:
parent
49f3b928cb
commit
9616badc33
@ -55,6 +55,9 @@ function findLists(query: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function select(l: IList | null) {
|
function select(l: IList | null) {
|
||||||
|
if (l === null) {
|
||||||
|
return
|
||||||
|
}
|
||||||
Object.assign(list, l)
|
Object.assign(list, l)
|
||||||
emit('update:modelValue', list)
|
emit('update:modelValue', list)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user