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:
parent
d348b7dfbb
commit
5c6a9cf654
|
@ -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…
Reference in New Issue