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 2b47ff4 commit fab9a1aCopy full SHA for fab9a1a
app/code/Magento/Customer/view/frontend/web/js/invalidation-rules/website-rule.js
@@ -22,7 +22,7 @@ define([
22
process: function (customerData) {
23
var customer = customerData.get('customer');
24
25
- if (this.scopeConfig && customer() && customer().websiteId !== this.scopeConfig.websiteId) {
+ if (this.scopeConfig && customer() && ~~customer().websiteId !== ~~this.scopeConfig.websiteId) {
26
customerData.reload(['customer']);
27
}
28
0 commit comments