SSR-1063 simplified isPaypal()

This commit is contained in:
Matt Caimi 2024-02-22 10:46:08 -05:00
parent 00b81f05c5
commit 22b5b3cb03

View file

@ -292,10 +292,7 @@ export default {
return '';
},
isPaypal() {
if (this.paymentType === hopPaymentMethods.PAYPAL) {
return true;
}
return false;
return this.paymentType === hopPaymentMethods.PAYPAL;
}
},
methods: