@hmcts/ccpay-web-component 5.0.1-beta43 → 5.0.1-beta44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2040,7 +2040,7 @@
2040
2040
  * @return {?}
2041
2041
  */
2042
2042
  function () {
2043
- if (typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') {
2043
+ if ((typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') || (typeof this.paymentLibComponent.TAKEPAYMENT === 'boolean' && !this.paymentLibComponent.TAKEPAYMENT)) {
2044
2044
  window.location.href = '/refund-list?takePayment=false&refundlist=true';
2045
2045
  }
2046
2046
  else {