From 1e70e3e443ccf502b382cd066ccdd3be51c292fa Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 24 Jul 2024 09:04:05 +0100 Subject: [PATCH] Don't show datasource options for array bindings that lack table IDs --- .../settings/controls/DataSourceSelect/DataSourceSelect.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceSelect.svelte b/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceSelect.svelte index d2b5174139..99b5ace847 100644 --- a/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceSelect.svelte +++ b/packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceSelect.svelte @@ -115,6 +115,7 @@ }) $: fields = bindings .filter(x => arrayTypes.includes(x.fieldSchema?.type)) + .filter(x => x.fieldSchema?.tableId != null) .map(binding => { const { providerId, readableBinding, runtimeBinding } = binding const { name, type, tableId } = binding.fieldSchema