Skip to content

Commit

Permalink
Merge pull request #87 from ihorvansach/17-notification-banner-bug
Browse files Browse the repository at this point in the history
17 Notification banner on storefront [fixed: The banner is not showing]
  • Loading branch information
naydav authored Apr 22, 2020
2 parents 9204ab7 + 668c9ac commit 06166f6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
*/

define([
'Magento_Customer/js/customer-data'
], function (customerData) {
'Magento_Customer/js/customer-data',
'Magento_Customer/js/section-config'
], function (customerData, sectionConfig) {

'use strict';

return function (config) {
customerData.reload('customer').done(function () {
customerData.reload(sectionConfig.getSectionNames()).done(function () {
window.location.href = config.redirectUrl;
});
};
Expand Down

0 comments on commit 06166f6

Please sign in to comment.