Share Step name with editor application

[MAILPOET-4445]
This commit is contained in:
David Remer
2022-08-10 08:53:23 +03:00
committed by Veljko V
parent d4bc448ac6
commit 4a19e4db46

View File

@@ -64,6 +64,7 @@ class AutomationEditor {
'steps' => array_map(function (Step $step) { 'steps' => array_map(function (Step $step) {
return [ return [
'id' => $step->getId(), 'id' => $step->getId(),
'name' => $step->getName(),
'type' => $step->getType(), 'type' => $step->getType(),
'key' => $step->getKey(), 'key' => $step->getKey(),
'next_step_id' => $step->getNextStepId(), 'next_step_id' => $step->getNextStepId(),