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
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 3 additions and 0 deletions

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)
}