Compare commits

...

1 Commits

Author SHA1 Message Date
victorAnumudu 2cc30d6c47 job list page filtered to display only jobs with job mode of general 2024-05-21 16:32:59 +01:00
+9 -8
View File
@@ -104,7 +104,7 @@ export default function MyJobTable({ MyJobList, reloadJobList, className }) {
);
};
const currentJobList = filterJobList();
const currentJobList = filterJobList()?.filter(item => item?.job_mode == 'GENERAL'); // Show only jobs with job mode of GENERAL
// Handling Filter Pagination
const filteredCurrentJobList = currentJobList?.slice(
@@ -358,13 +358,14 @@ function myJobTableFeatures(
{MyJobList?.data?.result_list?.length > 0 ? (
filteredCurrentJobList.length > 0 ? (
filteredCurrentJobList.map((value, index) => (
<JobListItem
key={index}
index={index}
value={value}
image_server={MyJobList.data.session_image_server}
/>
))
<JobListItem
key={index}
index={index}
value={value}
image_server={MyJobList.data.session_image_server}
/>
)
)
) : (
<NoJobsRow text="No Jobs Available In This Category!" />
)