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
f3d1035e23
commit
8284e1d76c
|
@ -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