From 12869e9170d4c5d3f93dc0644bbdaf7f32c4f350 Mon Sep 17 00:00:00 2001 From: HugoCasa Date: Mon, 14 Apr 2025 16:25:20 +0200 Subject: [PATCH] nit app runnable s3 input (#5609) * nit app runnable s3 input * n --- .../settingsPanel/inputEditor/StaticInputEditor.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte index da0f6fbf88..078dbeb06c 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte @@ -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')}