Skip to content

Commit

Permalink
MCP-789: Investigate Performance Degradation for Customer Sections in…
Browse files Browse the repository at this point in the history
…validation
  • Loading branch information
vzabaznov committed Jan 12, 2022
1 parent 302f6c5 commit 5e339ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ define([
quoteItems(newValue.items);
});

if (!isNaN(subtotalAmount) && quoteSubtotal !== subtotalAmount) {
if (!isNaN(subtotalAmount) && quoteSubtotal !== subtotalAmount && quoteSubtotal !== 0) {
customerData.reload(['cart'], false);
}

Expand Down

0 comments on commit 5e339ba

Please sign in to comment.