Skip to content

Commit 8761d17

Browse files
committed
magento2/issues/29113 Customers should be able to enable/disable Admin "remote shopping assistance"
1 parent 369b3a0 commit 8761d17

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/LoginAsCustomerAssistance/Block/Adminhtml/NotAllowedPopup.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* Pop-up for Login as Customer button then Login as Customer is not allowed.
16-
*
17-
* @api
1816
*/
1917
class NotAllowedPopup extends Template
2018
{
@@ -68,11 +66,11 @@ public function getJsLayout()
6866
/**
6967
* @inheritdoc
7068
*/
71-
protected function _toHtml()
69+
public function toHtml()
7270
{
7371
if (!$this->config->isEnabled()) {
7472
return '';
7573
}
76-
return parent::_toHtml();
74+
return parent::toHtml();
7775
}
7876
}

0 commit comments

Comments
 (0)