Skip to content

Commit 1419e76

Browse files
committed
Avoid to show the transition if the current admin is not the one which transition applies to
1 parent da96df7 commit 1419e76

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)