@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
|
@@ -1894,7 +1894,9 @@
|
|
|
1894
1894
|
* @param {?} data
|
|
1895
1895
|
* @return {?}
|
|
1896
1896
|
*/function (data) { return _this.navigationpage = data; }));
|
|
1897
|
-
if (this.navigationpage === 'casetransactions')
|
|
1897
|
+
if (this.navigationpage === 'casetransactions') {
|
|
1898
|
+
window.location.href = '/refund-list?takePayment=false&refundlist=true';
|
|
1899
|
+
}
|
|
1898
1900
|
else {
|
|
1899
1901
|
this.paymentLibComponent.viewName = 'refund-list';
|
|
1900
1902
|
}
|
|
@@ -1906,7 +1908,12 @@
|
|
|
1906
1908
|
* @return {?}
|
|
1907
1909
|
*/
|
|
1908
1910
|
function () {
|
|
1909
|
-
this.
|
|
1911
|
+
if (this.paymentLibComponent.API_ROOT === 'api/payment-history') {
|
|
1912
|
+
window.location.href = '/refund-list?takePayment=false&refundlist=true';
|
|
1913
|
+
}
|
|
1914
|
+
else {
|
|
1915
|
+
this.loadRefundListPage();
|
|
1916
|
+
}
|
|
1910
1917
|
};
|
|
1911
1918
|
// loadCaseTransactionPage() {
|
|
1912
1919
|
// this.paymentLibComponent.isRefundStatusView = false;
|