Skip to content

Commit 5e339ba

Browse files
committed
MCP-789: Investigate Performance Degradation for Customer Sections invalidation
1 parent 302f6c5 commit 5e339ba

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/model

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/totals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define([
2222
quoteItems(newValue.items);
2323
});
2424

25-
if (!isNaN(subtotalAmount) && quoteSubtotal !== subtotalAmount) {
25+
if (!isNaN(subtotalAmount) && quoteSubtotal !== subtotalAmount && quoteSubtotal !== 0) {
2626
customerData.reload(['cart'], false);
2727
}
2828

0 commit comments

Comments
 (0)