From 8d0569249ddbc2a757c682d44281b6e23535a2a3 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 8 Sep 2023 00:52:05 +0200 Subject: [PATCH] fix flow builder input transforms --- frontend/src/lib/components/InputTransformForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index 52ea222c6a..b72c11d3f5 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -51,7 +51,7 @@ propertyType = arg.type } - $: arg?.type !== propertyType && updatePropertyType() + $: arg?.type && arg.type !== propertyType && updatePropertyType() function getPropertyType(arg: InputTransform | any): 'static' | 'javascript' { let type: 'static' | 'javascript' = arg?.type ?? 'static'