Skip to content

Commit 0f0f7bd

Browse files
author
Michael Yu
committed
MAGETWO-69657: Credit Card Information disappear after user enters promotion code
- Revert 'grand_total' to bracket notation to pass ESLint
1 parent aecce5d commit 0f0f7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/payment-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ define([
3232
});
3333
this.isFreeAvailable = !!freeMethod;
3434

35-
if (freeMethod && quote.totals().grand_total <= 0) {
35+
if (freeMethod && quote.totals()['grand_total'] <= 0) {
3636
methods.splice(0, methods.length, freeMethod);
3737
selectPaymentMethod(freeMethod);
3838
}

0 commit comments

Comments
 (0)