Use full runtime bindings in automation settings and enable JS bindings for backend log action
This commit is contained in:
parent
5cc43bd8b5
commit
19f28037e1
|
@ -96,13 +96,16 @@
|
||||||
allSteps[idx].schema?.outputs?.properties ?? {}
|
allSteps[idx].schema?.outputs?.properties ?? {}
|
||||||
)
|
)
|
||||||
bindings = bindings.concat(
|
bindings = bindings.concat(
|
||||||
outputs.map(([name, value]) => ({
|
outputs.map(([name, value]) => {
|
||||||
label: name,
|
const runtime = idx === 0 ? `trigger.${name}` : `steps.${idx}.${name}`
|
||||||
type: value.type,
|
return {
|
||||||
description: value.description,
|
label: runtime,
|
||||||
category: idx === 0 ? "Trigger outputs" : `Step ${idx} outputs`,
|
type: value.type,
|
||||||
path: idx === 0 ? `trigger.${name}` : `steps.${idx}.${name}`,
|
description: value.description,
|
||||||
}))
|
category: idx === 0 ? "Trigger outputs" : `Step ${idx} outputs`,
|
||||||
|
path: runtime,
|
||||||
|
}
|
||||||
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return bindings
|
return bindings
|
||||||
|
@ -261,7 +264,6 @@
|
||||||
value={inputData[key]}
|
value={inputData[key]}
|
||||||
on:change={e => onChange(e, key)}
|
on:change={e => onChange(e, key)}
|
||||||
{bindings}
|
{bindings}
|
||||||
allowJS={false}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in New Issue