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.
1 parent c733c5d commit 66b7fc7Copy full SHA for 66b7fc7
app/code/Magento/Customer/view/frontend/web/js/section-config.js
@@ -50,7 +50,7 @@ define(['underscore'], function (_) {
50
return route.indexOf(section) === 0;
51
});
52
53
- return _.union(actions, sections['*']);
+ return _.union(_.toArray(actions), _.toArray(sections['*']));
54
},
55
56
/**
@@ -59,7 +59,7 @@ define(['underscore'], function (_) {
59
* @return {Array} - List of filtered sections.
60
*/
61
filterClientSideSections: function (allSections) {
62
- return _.difference(allSections, clientSideSections);
+ return _.difference(_.toArray(allSections), clientSideSections);
63
64
65
0 commit comments