Skip to content

Commit

Permalink
Update MassAction.php to adhere to standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Beagon authored Feb 1, 2019
1 parent f8e407d commit eb4284f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/Magento/Ui/Component/MassAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ public function prepare()
$config = $this->getConfiguration();

foreach ($this->getChildComponents() as $actionComponent) {
$actionComponentConfig = $actionComponent->getConfiguration();
$disabledAction = $actionComponentConfig['actionDisable'] ?? false;
$componentConfig = $actionComponent->getConfiguration();
$disabledAction = $componentConfig['actionDisable'] ?? false;
if ($disabledAction) {
continue;
}
$config['actions'][] = $actionComponentConfig;
$config['actions'][] = $componentConfig;
}

$origConfig = $this->getConfiguration();
Expand Down

0 comments on commit eb4284f

Please sign in to comment.