Browse Source

Filter out an S3 datasources which contain custom endpoints when selecting the datsource to use with the S3 upload component

pull/4030/head
Andrew Kingston 4 years ago
parent
commit
5c6a9cf654
  1. 2
      packages/builder/src/components/design/PropertiesPanel/PropertyControls/S3DataSourceSelect.svelte

2
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,

Loading…
Cancel
Save