Skip to content

Commit aecce5d

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 518cef6 commit aecce5d

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
@@ -81,7 +81,7 @@ define([
8181
isFreeMethod = function (method) {
8282
return method.method === freeMethodCode;
8383
},
84-
grandTotalOverZero = quote.totals().grand_total > 0;
84+
grandTotalOverZero = quote.totals()['grand_total'] > 0;
8585

8686
if (!self.isFreeAvailable) {
8787
return allMethods;

0 commit comments

Comments
 (0)