mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
feat(frontend): Fix App Select component initial value (#3752)
* feat(frontend): Fix App Select component initial value * Update AppSelect.svelte --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
This commit is contained in:
co-authored by
Ruben Fiszel
parent
2b06d9ae79
commit
e11a3751c3
@@ -71,7 +71,12 @@
|
||||
result: undefined as string | undefined
|
||||
})
|
||||
|
||||
let value: string | undefined = noDefault ? undefined : outputs?.result.peak()
|
||||
// The library expects double quotes around the value
|
||||
let value: string | undefined = noDefault
|
||||
? undefined
|
||||
: outputs?.result.peak()
|
||||
? JSON.stringify(outputs?.result.peak())
|
||||
: undefined
|
||||
|
||||
$: resolvedConfig.items && handleItems()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user