Merge pull request #2343 from automatisch/use-step-name-in-variables
fix(variables): use step names in variables
This commit is contained in:
@@ -81,10 +81,7 @@ export const processStepWithExecutions = (steps) => {
|
|||||||
})
|
})
|
||||||
.map((step, index) => ({
|
.map((step, index) => ({
|
||||||
id: step.id,
|
id: step.id,
|
||||||
// TODO: replace with step.name once introduced
|
name: `${index + 1}. ${step.name}`,
|
||||||
name: `${index + 1}. ${
|
|
||||||
(step.appKey || '').charAt(0)?.toUpperCase() + step.appKey?.slice(1)
|
|
||||||
}`,
|
|
||||||
output: process({
|
output: process({
|
||||||
data: step.executionSteps?.[0]?.dataOut || {},
|
data: step.executionSteps?.[0]?.dataOut || {},
|
||||||
parentKey: `step.${step.id}`,
|
parentKey: `step.${step.id}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user