fix: don't push a select event when nothing was selected

This commit is contained in:
kolaente 2022-09-05 15:47:18 +02:00 committed by Dominik Pschenitschni
parent 49f3b928cb
commit 9616badc33
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -55,6 +55,9 @@ function findLists(query: string) {
}
function select(l: IList | null) {
if (l === null) {
return
}
Object.assign(list, l)
emit('update:modelValue', list)
}