Skip to content

Commit 43ed528

Browse files
committed
Fix js errors in customer data when component not initialized
Fix static tests
1 parent 2402537 commit 43ed528

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ define([
3232
url.setBaseUrl(window.BASE_URL);
3333
options.sectionLoadUrl = url.build('customer/section/load');
3434

35+
/**
36+
* Storage initialization
37+
*/
3538
function initStorage() {
3639
$.cookieStorage.setConf({
3740
path: '/',

0 commit comments

Comments
 (0)