Skip to content

Commit

Permalink
Fix for wildcard section reload being broken by section-config refact…
Browse files Browse the repository at this point in the history
…or in 2bd4cb5
  • Loading branch information
Greg Harvell committed Jul 14, 2020
1 parent 1ee7e1f commit 4f10b5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ define([
var parameters;

sectionNames = sectionConfig.filterClientSideSections(sectionNames);
parameters = _.isArray(sectionNames) ? {
parameters = _.isArray(sectionNames) && sectionNames.indexOf('*') < 0 ? {
sections: sectionNames.join(',')
} : [];
parameters['force_new_section_timestamp'] = forceNewSectionTimestamp;
Expand Down

2 comments on commit 4f10b5d

@jithutj
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this help to resolve customer object being empty after login?

@jithutj
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not working in magento 2.3.4

Please sign in to comment.