@hmcts/ccpay-web-component 4.0.0-beta538 → 4.0.0-beta539
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.
- package/bundles/hmcts-ccpay-web-component.umd.js +9 -2
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/process-refund/process-refund.component.js +8 -3
- package/esm5/lib/components/process-refund/process-refund.component.js +8 -3
- package/fesm2015/hmcts-ccpay-web-component.js +9 -2
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +9 -2
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1886,7 +1886,9 @@ var ProcessRefundComponent = /** @class */ (function () {
|
|
|
1886
1886
|
* @return {?}
|
|
1887
1887
|
*/
|
|
1888
1888
|
function (data) { return _this.navigationpage = data; }));
|
|
1889
|
-
if (this.navigationpage === 'casetransactions')
|
|
1889
|
+
if (this.navigationpage === 'casetransactions') {
|
|
1890
|
+
window.location.href = '/refund-list?takePayment=false&refundlist=true';
|
|
1891
|
+
}
|
|
1890
1892
|
else {
|
|
1891
1893
|
this.paymentLibComponent.viewName = 'refund-list';
|
|
1892
1894
|
}
|
|
@@ -1898,7 +1900,12 @@ var ProcessRefundComponent = /** @class */ (function () {
|
|
|
1898
1900
|
* @return {?}
|
|
1899
1901
|
*/
|
|
1900
1902
|
function () {
|
|
1901
|
-
this.
|
|
1903
|
+
if (this.paymentLibComponent.API_ROOT === 'api/payment-history') {
|
|
1904
|
+
window.location.href = '/refund-list?takePayment=false&refundlist=true';
|
|
1905
|
+
}
|
|
1906
|
+
else {
|
|
1907
|
+
this.loadRefundListPage();
|
|
1908
|
+
}
|
|
1902
1909
|
};
|
|
1903
1910
|
// loadCaseTransactionPage() {
|
|
1904
1911
|
// this.paymentLibComponent.isRefundStatusView = false;
|