We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c649e28 + 3a90950 commit 14165c1Copy full SHA for 14165c1
app/code/Magento/Customer/view/frontend/web/js/customer-data.js
@@ -262,7 +262,9 @@ define([
262
263
// process sections that can expire due to storage information inconsistency
264
_.each(cookieSectionTimestamps, function (cookieSectionTimestamp, sectionName) {
265
- sectionData = storage.get(sectionName);
+ if (storage !== undefined) {
266
+ sectionData = storage.get(sectionName);
267
+ }
268
269
if (typeof sectionData === 'undefined' ||
270
typeof sectionData === 'object' &&
0 commit comments