Skip to content

Commit 93cd8cf

Browse files
committed
ACP2E-2021: Unable to switch to the second store in the front end
1 parent a6545ff commit 93cd8cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Customer/view/frontend/templates/js/customer-data.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
/** @var \Magento\Customer\Block\CustomerData $block */
88
/** @var \Magento\Framework\Json\Helper\Data $jsonHelper */
9-
$jsonHelper = $block->getData('jsonHelper');
9+
$expirableSectionNames = $block->getExpirableSectionNames();
1010

1111
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundHelper
12+
$jsonHelper = $this->helper(\Magento\Framework\Json\Helper\Data::class);
1213
?>
1314
<script type="text/x-magento-init">
1415
{

0 commit comments

Comments
 (0)