This commit is contained in:
HugoCasa
2025-04-11 18:28:15 +02:00
parent a34ed9a24d
commit 24bf1f1493
@@ -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