File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
view/adminhtml/templates/order/create Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __construct(AuthorizationInterface $authorization)
35
35
*
36
36
* @return bool
37
37
*/
38
- public function isAllowedAction (): bool
38
+ public function isAllowed (): bool
39
39
{
40
40
return $ this ->authorization ->isAllowed ('Magento_Customer::customer ' );
41
41
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use Magento\Sales\ViewModel\Order\Create\SidebarPermissionCheck;
21
21
$ sideBarPermissionCheck = $ block ->getData ('sideBarPermissionCheck ' );
22
22
23
23
?>
24
- <?php if ($ sideBarPermissionCheck ->isAllowedAction ()): ?>
24
+ <?php if ($ sideBarPermissionCheck ->isAllowed ()): ?>
25
25
<div class="customer-current-activity-inner">
26
26
<h4 class="customer-activity-title"><?= $ escaper ->escapeHtml (__ ('Customer \'s Activities ' )) ?> </h4>
27
27
<div class="create-order-sidebar-container">
You can’t perform that action at this time.
0 commit comments