From 678fd0cec49572fddaf523f77f24c4bd40eb26b0 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 8 Sep 2023 00:47:05 +0200 Subject: [PATCH] fix flow builder input transforms --- frontend/src/lib/components/InputTransformForm.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index 3299b44c61..f5aa30c546 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -47,11 +47,11 @@ let propertyType = getPropertyType(arg) - function updatePropertyType() { - propertyType = getPropertyType(arg) - } + // function updatePropertyType() { + // propertyType = arg.type + // } - $: arg.type !== propertyType && updatePropertyType() + // $: arg.type !== propertyType && updatePropertyType() function getPropertyType(arg: InputTransform | any): 'static' | 'javascript' { let type: 'static' | 'javascript' = arg?.type ?? 'static'