@hmcts/ccpay-web-component 5.2.1-beta01 → 5.2.1-beta02

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.
@@ -6658,7 +6658,13 @@
6658
6658
  };
6659
6659
  RefundStatusComponent.prototype.getRefundFees = function (fees) {
6660
6660
  this.fees = fees;
6661
- this.refundFees = this.fees.map(function (obj) { return ({ fee_id: obj.id, code: obj.code, version: obj.version, volume: obj.volume, refund_amount: obj.refund_amount }); });
6661
+ this.refundFees = this.fees.map(function (obj) { return ({
6662
+ fee_id: obj.id,
6663
+ code: obj.code,
6664
+ version: obj.version,
6665
+ volume: obj.updated_volume ? obj.updated_volume : obj.volume,
6666
+ refund_amount: obj.refund_amount
6667
+ }); });
6662
6668
  };
6663
6669
  RefundStatusComponent.prototype.gotoReviewRefundConfirmationPage = function () {
6664
6670
  var _this = this;