Skip to content

Commit

Permalink
FIX Argument order of insertBefore method
Browse files Browse the repository at this point in the history
  • Loading branch information
satrun77 committed Jan 25, 2024
1 parent f484336 commit 7f6067b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/WorkflowApplicable.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function updateCMSActions(FieldList $actions)
}
// Only display menu if actions pushed to it
if ($tab->Fields()->exists()) {
$menu->insertBefore($tab, 'MoreOptions');
$menu->insertBefore('MoreOptions', $tab);
}
}
}
Expand Down

0 comments on commit 7f6067b

Please sign in to comment.