Skip to content

Commit b610c43

Browse files
authored
Merge pull request #12 from phansys/child_admin
Avoid to show the transition if the current admin is not the one which transition applies to
2 parents da96df7 + 1419e76 commit b610c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Admin/Extension/WorkflowExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function configureSideMenu(
7272
$action,
7373
AdminInterface $childAdmin = null
7474
) {
75-
if (!in_array($action, $this->options['render_actions'], true)) {
75+
if (null !== $childAdmin || !in_array($action, $this->options['render_actions'], true)) {
7676
return;
7777
}
7878

0 commit comments

Comments
 (0)