refactor: use step.executionSteps[].dataOut

This commit is contained in:
Ali BARIN
2022-03-04 23:34:16 +01:00
committed by Ömer Faruk Aydın
parent e73f33f3db
commit b288dc8c35
5 changed files with 11 additions and 4 deletions

View File

@@ -39,6 +39,6 @@ export const processStepWithExecutions = (steps: IStep[]): any[] => {
id: step.id,
// TODO: replace with step.name once introduced
name: `${index + 1}. ${step.appKey}`,
output: process(step.output, `step.${step.id}`),
output: process(step.executionSteps?.[0]?.dataOut || {}, `step.${step.id}`),
}));
};