Add before step save hook per step key to simplify usage
[MAILPOET-4515]
This commit is contained in:
@@ -119,10 +119,6 @@ class SendEmailAction implements Action {
|
||||
}
|
||||
|
||||
public function saveEmailSettings(Step $step): void {
|
||||
if ($step->getKey() !== $this->getKey()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$args = $step->getArgs();
|
||||
if (!isset($args['email_id'])) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user