From 7fe41ef949f4fccd0dc40d83f027964a8a0da915 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 20 Nov 2024 14:32:15 +0000 Subject: [PATCH] dont allow links in automation filter builder --- .../automation/SetupPanel/AutomationBlockSetup.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index b16533c2ca..acffafa7fd 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -94,6 +94,7 @@ $: memoBlock.set(block) $: filters = lookForFilters(schemaProperties) + $: console.log(filters) $: filterCount = filters?.groups?.reduce((acc, group) => { acc = acc += group?.filters?.length || 0 @@ -114,7 +115,7 @@ $: schemaFields = search.getFields( $tables.list, Object.values(schema || {}), - { allowLinks: true } + { allowLinks: false } ) $: queryLimit = tableId?.includes("datasource") ? "∞" : "1000" $: isTrigger = $memoBlock?.type === AutomationStepType.TRIGGER