mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-23 00:03:46 +00:00
nit
This commit is contained in:
+4
-2
@@ -200,11 +200,13 @@
|
||||
bind:this={s3FilePicker}
|
||||
readOnlyMode={false}
|
||||
on:close={(e) => {
|
||||
if (componentInput?.value?.s3) {
|
||||
if (e.detail) {
|
||||
if (componentInput) {
|
||||
componentInput.value = e.detail
|
||||
}
|
||||
s3FileUploadRawMode = true
|
||||
}
|
||||
}}
|
||||
bind:selectedFileKey={componentInput.value}
|
||||
/>
|
||||
{:else if format?.startsWith('resource-') && (componentInput.value == undefined || typeof componentInput.value == 'string')}
|
||||
<ResourcePicker
|
||||
|
||||
Reference in New Issue
Block a user