From 430db74c17ae435cf8b672eec07597a05ea59e11 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Thu, 26 Nov 2020 15:10:17 +0200 Subject: [PATCH] Fix: Empty Status PaymentMade. --- client/src/containers/Purchases/PaymentMades/PaymentMadeList.js | 2 +- .../Purchases/PaymentMades/PaymentMadesEmptyStatus.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js b/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js index a7986f4d8..ff4e9eb99 100644 --- a/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js +++ b/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js @@ -87,7 +87,7 @@ function PaymentMadeList({ }, [deletePaymentMade, requestDeletePaymentMade, formatMessage]); const handleEditPaymentMade = useCallback((payment) => { - history.push(`/payment-made/${payment.id}/edit`); + history.push(`/payment-mades/${payment.id}/edit`); }); // Calculates the selected rows count. diff --git a/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js b/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js index 781a804cd..8ed4582af 100644 --- a/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js +++ b/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js @@ -21,7 +21,7 @@ export default function PaymentMadesEmptyStatus() { intent={Intent.PRIMARY} large={true} onClick={() => { - history.push('/payment-made/new'); + history.push('/payment-mades/new'); }} > New bill payment