Merge pull request #14228 from Budibase/remove-selected-rows-datasource
Don't show datasource options for array bindings that lack table IDs
This commit is contained in:
commit
91bc48b633
|
@ -115,6 +115,7 @@
|
||||||
})
|
})
|
||||||
$: fields = bindings
|
$: fields = bindings
|
||||||
.filter(x => arrayTypes.includes(x.fieldSchema?.type))
|
.filter(x => arrayTypes.includes(x.fieldSchema?.type))
|
||||||
|
.filter(x => x.fieldSchema?.tableId != null)
|
||||||
.map(binding => {
|
.map(binding => {
|
||||||
const { providerId, readableBinding, runtimeBinding } = binding
|
const { providerId, readableBinding, runtimeBinding } = binding
|
||||||
const { name, type, tableId } = binding.fieldSchema
|
const { name, type, tableId } = binding.fieldSchema
|
||||||
|
|
Loading…
Reference in New Issue