Skip to content

Commit 17c403c

Browse files
committed
MAGETWO-45060: Inconsistent credit card validation behavior
- Fixed displaying input forms of credit card
1 parent e287dbd commit 17c403c

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer

1 file changed

+1
-1
lines changed

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/cc-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ define(
141141
this.isCcFormShown = ko.computed(function () {
142142

143143
return !this.useVault() ||
144-
this.selectedCardToken() === 'undefined' ||
144+
this.selectedCardToken() === undefined ||
145145
this.selectedCardToken() === '';
146146
}, this);
147147

0 commit comments

Comments
 (0)