From 8284e1d76c2e459e78b9205acd836d6295791ae2 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 24 Jan 2022 15:19:21 +0000 Subject: [PATCH] Filter out an S3 datasources which contain custom endpoints when selecting the datsource to use with the S3 upload component --- .../PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte index 41f9347c6e..05b4058aa3 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte @@ -5,7 +5,7 @@ export let value = null $: dataSources = $datasources.list - .filter(ds => ds.source === "S3") + .filter(ds => ds.source === "S3" && !ds.config?.endpoint) .map(ds => ({ label: ds.name, value: ds._id,