mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 16:02:23 +00:00
fix flow builder input transforms
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user