mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 23:37:23 +00:00
@@ -317,9 +317,9 @@ useEventListener(document, 'click', handleClose, true)
|
||||
|
||||
const selectedOpts = computed(() => {
|
||||
return vModel.value.reduce<SelectOptionType[]>((selectedOptions, option) => {
|
||||
const fnd = options.value.find((o) => o.value === option)
|
||||
if (fnd) {
|
||||
selectedOptions.push(fnd)
|
||||
const selectedOption = options.value.find((o) => o.value === option)
|
||||
if (selectedOption) {
|
||||
selectedOptions.push(selectedOption)
|
||||
}
|
||||
return selectedOptions
|
||||
}, [])
|
||||
|
||||
Reference in New Issue
Block a user