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

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.
@@ -2022,7 +2022,8 @@
2022
2022
  */
2023
2023
  function () {
2024
2024
  if (typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') {
2025
- window.location.href = '/refund-list?takePayment=false&refundlist=true';
2025
+ //window.location.href='/refund-list?takePayment=false&refundlist=true';
2026
+ this.paymentLibComponent.viewName = 'refund-list';
2026
2027
  }
2027
2028
  else {
2028
2029
  this.OrderslistService.setnavigationPage('casetransactions');
@@ -2041,7 +2042,8 @@
2041
2042
  */
2042
2043
  function () {
2043
2044
  if ((typeof this.paymentLibComponent.TAKEPAYMENT === 'string' && this.paymentLibComponent.TAKEPAYMENT === 'false') || (typeof this.paymentLibComponent.TAKEPAYMENT === 'boolean' && !this.paymentLibComponent.TAKEPAYMENT)) {
2044
- window.location.href = '/refund-list?takePayment=false&refundlist=true';
2045
+ // window.location.href='/refund-list?takePayment=false&refundlist=true';
2046
+ this.paymentLibComponent.viewName = 'refund-list';
2045
2047
  }
2046
2048
  else {
2047
2049
  this.loadRefundListPage();