SSR-1063 simplified isPaypal()
This commit is contained in:
parent
00b81f05c5
commit
22b5b3cb03
1 changed files with 1 additions and 4 deletions
|
|
@ -292,10 +292,7 @@ export default {
|
|||
return '';
|
||||
},
|
||||
isPaypal() {
|
||||
if (this.paymentType === hopPaymentMethods.PAYPAL) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return this.paymentType === hopPaymentMethods.PAYPAL;
|
||||
}
|
||||
},
|
||||
methods:
|
||||
|
|
|
|||
Loading…
Reference in a new issue