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:
Faton Ramadani
2024-05-17 00:31:32 +02:00
committed by GitHub
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()