From 6b535ecd5734b49439d4a0457b7595c659be685c Mon Sep 17 00:00:00 2001 From: Ebube Date: Mon, 29 May 2023 01:16:30 +0100 Subject: [PATCH 1/2] . --- src/components/jobPopout/JobListPopout.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/jobPopout/JobListPopout.jsx b/src/components/jobPopout/JobListPopout.jsx index 5934438..aaca77c 100644 --- a/src/components/jobPopout/JobListPopout.jsx +++ b/src/components/jobPopout/JobListPopout.jsx @@ -79,7 +79,10 @@ function JobListPopout({ details, onClose, situation }) { let jobReq = { job_id, job_uid, - job_description: job_description !== null ? job_description : " ", + job_description: + (job_description !== null) | "" + ? job_description + : details.description, }; let reqData; From f3c2ab79235063867ecc010cd18e26fd97653cd1 Mon Sep 17 00:00:00 2001 From: Ebube Date: Mon, 29 May 2023 01:20:46 +0100 Subject: [PATCH 2/2] . --- src/components/jobPopout/JobListPopout.jsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/jobPopout/JobListPopout.jsx b/src/components/jobPopout/JobListPopout.jsx index aaca77c..b2c0779 100644 --- a/src/components/jobPopout/JobListPopout.jsx +++ b/src/components/jobPopout/JobListPopout.jsx @@ -75,14 +75,11 @@ function JobListPopout({ details, onClose, situation }) { }; const jobFieldHandler = async (values, helpers) => { - let { job_id, job_uid, job_description } = details; + let { job_id, job_uid, job_detail } = details; let jobReq = { job_id, job_uid, - job_description: - (job_description !== null) | "" - ? job_description - : details.description, + job_description: job_detail }; let reqData;