From 0411ab82f03efb691616d1560c4ce0fd03aaf445 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 9 Oct 2024 17:56:54 +0100 Subject: [PATCH] currency fixed --- .../MyActiveJobs/ActiveJobMessage.jsx | 12 +++++----- src/components/MyActiveJobs/ActiveJobs.jsx | 22 ++++++++++--------- .../WalletComponent/PurchasesTable.jsx | 4 ++-- .../WalletComponent/RecentActivityTable.jsx | 4 ++-- src/components/customTabs/TabButton.jsx | 2 +- 5 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/components/MyActiveJobs/ActiveJobMessage.jsx b/src/components/MyActiveJobs/ActiveJobMessage.jsx index 7d27384..ab826bc 100644 --- a/src/components/MyActiveJobs/ActiveJobMessage.jsx +++ b/src/components/MyActiveJobs/ActiveJobMessage.jsx @@ -19,8 +19,7 @@ export default function ActiveJobMessage({ activeJobMesList }) { // } return ( -
-
+
@@ -71,9 +70,10 @@ export default function ActiveJobMessage({ activeJobMesList }) {
- {/* PAGINATION BUTTON */} - {/* = activeJobMesList?.data?.length ? true : false} data={activeJobMesList?.data} start={indexOfFirstItem} stop={indexOfLastItem} /> */} - {/* END OF PAGINATION BUTTON */} -
+ //
+ // PAGINATION BUTTON + // = activeJobMesList?.data?.length ? true : false} data={activeJobMesList?.data} start={indexOfFirstItem} stop={indexOfLastItem} /> + // END OF PAGINATION BUTTON + //
) } diff --git a/src/components/MyActiveJobs/ActiveJobs.jsx b/src/components/MyActiveJobs/ActiveJobs.jsx index ab87ba9..5a2704d 100644 --- a/src/components/MyActiveJobs/ActiveJobs.jsx +++ b/src/components/MyActiveJobs/ActiveJobs.jsx @@ -390,8 +390,8 @@ function ActiveJobs(props) { {/* end of job details */}
-
-
+
+

Actions @@ -545,14 +545,16 @@ function ActiveJobs(props) {

{/* MESSAGE SECTION */} -
-
- -
+
+ {props.details && +
+ +
+ }

Message diff --git a/src/components/MyWallet/WalletComponent/PurchasesTable.jsx b/src/components/MyWallet/WalletComponent/PurchasesTable.jsx index 192af14..2494055 100644 --- a/src/components/MyWallet/WalletComponent/PurchasesTable.jsx +++ b/src/components/MyWallet/WalletComponent/PurchasesTable.jsx @@ -33,8 +33,8 @@ function PurchasesTable({purchase}) { {item.added_date}
{item.confirmation} - {currencySymbol('', item.amount)} - {currencySymbol('', item.fee)} + {currencySymbol(item.currency, item.amount)} + {currencySymbol(item.currency, item.fee)} ))} diff --git a/src/components/MyWallet/WalletComponent/RecentActivityTable.jsx b/src/components/MyWallet/WalletComponent/RecentActivityTable.jsx index 5da7b6a..69cee2a 100644 --- a/src/components/MyWallet/WalletComponent/RecentActivityTable.jsx +++ b/src/components/MyWallet/WalletComponent/RecentActivityTable.jsx @@ -40,9 +40,9 @@ function RecentActivityTable({ payment }) { dangerouslySetInnerHTML={{ __html: item.recipient }} > - {currencySymbol('', item.amount)} + {currencySymbol(item.currency, item.amount)}
- {currencySymbol('', item.fee)} + {currencySymbol(item.currency, item.fee)} {item.status} diff --git a/src/components/customTabs/TabButton.jsx b/src/components/customTabs/TabButton.jsx index 24b4878..93f79dd 100644 --- a/src/components/customTabs/TabButton.jsx +++ b/src/components/customTabs/TabButton.jsx @@ -4,7 +4,7 @@ import Icons from '../Helpers/Icons' export default function TabButton({ item='', iconName='', selectedTab='', setSelectedTab=()=>{} }) { return (