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)
3535 *
3636 * @return bool
3737 */
38- public function isAllowedAction (): bool
38+ public function isAllowed (): bool
3939 {
4040 return $ this ->authorization ->isAllowed ('Magento_Customer::customer ' );
4141 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use Magento\Sales\ViewModel\Order\Create\SidebarPermissionCheck;
2121$ sideBarPermissionCheck = $ block ->getData ('sideBarPermissionCheck ' );
2222
2323?>
24- <?php if ($ sideBarPermissionCheck ->isAllowedAction ()): ?>
24+ <?php if ($ sideBarPermissionCheck ->isAllowed ()): ?>
2525<div class="customer-current-activity-inner">
2626 <h4 class="customer-activity-title"><?= $ escaper ->escapeHtml (__ ('Customer \'s Activities ' )) ?> </h4>
2727 <div class="create-order-sidebar-container">
You can’t perform that action at this time.
0 commit comments