@hmcts/ccpay-web-component 5.0.2-beta36 → 5.0.2-beta37

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.
@@ -9557,6 +9557,7 @@
9557
9557
  * @return {?}
9558
9558
  */function (refundList) {
9559
9559
  _this.rejectedRefundList = refundList['refund_list'];
9560
+ //this.refundFees = this.rejectedRefundList['refund_fees'];
9560
9561
  })),
9561
9562
  ( /**
9562
9563
  * @param {?} error
@@ -9896,6 +9897,9 @@
9896
9897
  // if (this.oldRefundReason === this.refundlist.reason) {
9897
9898
  // this.refundCode = '';
9898
9899
  // }
9900
+ if (this.refundFees === undefined) {
9901
+ this.refundFees = this.refundlist['refund_fees'];
9902
+ }
9899
9903
  this.refundCode = this.refundlist.code;
9900
9904
  /** @type {?} */
9901
9905
  var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details, this.refundFees);