From c106e66f44576b7c884ea3682fe2e2341c749940 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Sun, 16 Jul 2023 22:13:47 +0100 Subject: [PATCH] assign task bug fixed --- .../FamilyAcc/FamilyPopout/AssignTaskPopout.jsx | 2 +- .../OffersInterest/ManageInterestOffer.jsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/FamilyAcc/FamilyPopout/AssignTaskPopout.jsx b/src/components/FamilyAcc/FamilyPopout/AssignTaskPopout.jsx index 94cfd3f..794525f 100644 --- a/src/components/FamilyAcc/FamilyPopout/AssignTaskPopout.jsx +++ b/src/components/FamilyAcc/FamilyPopout/AssignTaskPopout.jsx @@ -63,7 +63,7 @@ const AssignTaskPopout = React.memo(({ action, details, situation, familyDetail // API PAYLOADS job_id: activeTask.data?.job_id, job_uid: activeTask.data?.job_uid, - family_uid: familyDetails.uid, + family_uid: familyDetails?.uid || details?.family_uid, job_description: activeTask.data?.description, assign_mode: 110011, }; diff --git a/src/components/OffersInterest/ManageInterestOffer.jsx b/src/components/OffersInterest/ManageInterestOffer.jsx index 536fa00..7cac2f1 100644 --- a/src/components/OffersInterest/ManageInterestOffer.jsx +++ b/src/components/OffersInterest/ManageInterestOffer.jsx @@ -166,22 +166,22 @@ export default function ManageInterestOffer(props) {
{/* switch button */} -
+