1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

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

This commit is contained in:
Andrew Kingston 2022-01-24 15:19:21 +00:00
parent d348b7dfbb
commit 5c6a9cf654

View file

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