Skip to content

Commit 4df430a

Browse files
author
Michael Yu
committed
MAGETWO-69657: Credit Card Information disappear after user enters promotion code
- Switch to bracket notation to prevent JSCS conflict.
1 parent 31c3fe6 commit 4df430a

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
@@ -25,7 +25,7 @@ define([
2525
* @returns {Number}
2626
*/
2727
getGrandTotal = function () {
28-
return quote.totals().grand_total; // jscs:ignore requireCamelCaseOrUpperCaseIdentifiers
28+
return quote.totals()['grand_total'];
2929
};
3030

3131
return {

0 commit comments

Comments
 (0)