mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 23:35:59 +00:00
upgraded svelte-select, export fix
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
<SvelteSelect
|
||||
{...$$restProps}
|
||||
items={options}
|
||||
selectedValue={isMulti
|
||||
? value?.map(item => options.find(x => x.value == item))
|
||||
: options.find(x => x.value == value)}
|
||||
value={isMulti
|
||||
? _.compact(value?.map(item => options.find(x => x.value == item)) ?? [])
|
||||
: options.find(x => x.value == value) ?? null}
|
||||
on:select={e => {
|
||||
if (isMulti) {
|
||||
dispatch(
|
||||
|
||||
Reference in New Issue
Block a user