From b676a2a4f34cf9b02d9b53067690ebc9ee2a0022 Mon Sep 17 00:00:00 2001
From: Ebube
Date: Mon, 4 Mar 2024 15:16:41 +0100
Subject: [PATCH] username replacement and Active task window feedback
---
src/components/FamilyAcc/FamilyTable.jsx | 5 +++--
src/components/MyActiveJobs/ActiveJobs.jsx | 8 ++++----
.../MyActiveJobs/JobActions/ReviewJobAction.jsx | 2 +-
src/views/ManageActiveJobs.jsx | 2 +-
4 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/components/FamilyAcc/FamilyTable.jsx b/src/components/FamilyAcc/FamilyTable.jsx
index 1daebb6..c9b17a1 100644
--- a/src/components/FamilyAcc/FamilyTable.jsx
+++ b/src/components/FamilyAcc/FamilyTable.jsx
@@ -55,7 +55,8 @@ export default function FamilyTable({
banner,
enable_traking,
profile_picture,
- imageServer
+ imageServer,
+ username
}) => {
// Check for valid dates
const addedDate = added ? added.split(" ")[0] : "N/A";
@@ -87,7 +88,7 @@ export default function FamilyTable({
- {`${firstname} ${lastname} (${age < 10 ? `0${age}` : age})`}
+ {`${firstname} ${lastname} (${username})`}
Added: {addedDate}
diff --git a/src/components/MyActiveJobs/ActiveJobs.jsx b/src/components/MyActiveJobs/ActiveJobs.jsx
index 1c12239..7c92af9 100644
--- a/src/components/MyActiveJobs/ActiveJobs.jsx
+++ b/src/components/MyActiveJobs/ActiveJobs.jsx
@@ -286,7 +286,7 @@ function ActiveJobs(props) {
-
+
{props.details?.title && props.details.title}
@@ -412,7 +412,7 @@ function ActiveJobs(props) {
{tab == "message" ? (
-
+ */}
{props.activeJobMesList.loading ? (
diff --git a/src/components/MyActiveJobs/JobActions/ReviewJobAction.jsx b/src/components/MyActiveJobs/JobActions/ReviewJobAction.jsx
index 2019474..a45605b 100644
--- a/src/components/MyActiveJobs/JobActions/ReviewJobAction.jsx
+++ b/src/components/MyActiveJobs/JobActions/ReviewJobAction.jsx
@@ -112,7 +112,7 @@ function ReviewJobAction({jobDetails}) {
|
-
diff --git a/src/views/ManageActiveJobs.jsx b/src/views/ManageActiveJobs.jsx
index 1b69d98..1d38f57 100644
--- a/src/views/ManageActiveJobs.jsx
+++ b/src/views/ManageActiveJobs.jsx
@@ -39,7 +39,7 @@ function ManageActiveJobs() {
loading: false,
error: false,
data: res.data.result_list,
- image: res.data.session_image_server
+ image: res.data.session_image_server,
});
})
.catch((error) => {
|