From 1b0f6c0b897f95ab3faefec06dde3291bbfbd660 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Fri, 23 Aug 2024 18:21:18 +0100 Subject: [PATCH] lock job clean up --- src/components/MarketPlace/PopUp/LockJob.jsx | 42 ++++++++++--------- .../MarketPlace/PopUp/MarketPopUp.jsx | 6 +-- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/components/MarketPlace/PopUp/LockJob.jsx b/src/components/MarketPlace/PopUp/LockJob.jsx index cf41baa..85d1762 100644 --- a/src/components/MarketPlace/PopUp/LockJob.jsx +++ b/src/components/MarketPlace/PopUp/LockJob.jsx @@ -45,8 +45,8 @@ export default function LockJob({details, marketPlaceProduct, ManageInterest, ma : <> -
-
+
+

{details?.offer_depend_uid && } {details?.title} @@ -65,11 +65,11 @@ export default function LockJob({details, marketPlaceProduct, ManageInterest, ma bold: `Budget: ${thePrice}`, }, }, - { - name: "Delivery Detail", - content: cleanedText, - danger: true, - }, + // { + // name: "Delivery Detail", + // content: cleanedText, + // danger: true, + // }, ].map(({ name, content, danger }, idx) => (
))}

-
+ {/*
*/} {completedTask.loading ?

Loading...

:completedTask?.data?.filter(item => item?.job_uid == details.offer_depend_uid).length > 0 ? @@ -174,16 +174,18 @@ export default function LockJob({details, marketPlaceProduct, ManageInterest, ma :

This task depends on the task below

-
-

- {dependOn?.offer_depend_uid && } - {dependOn?.title} -

-
-
-

Description

-
- {dependOn?.description} +
+
+

+ {dependOn?.offer_depend_uid && } + {dependOn?.title} +

+
+
+

Description

+
+ {dependOn?.description} +
diff --git a/src/components/MarketPlace/PopUp/MarketPopUp.jsx b/src/components/MarketPlace/PopUp/MarketPopUp.jsx index 7103db5..40c9f26 100644 --- a/src/components/MarketPlace/PopUp/MarketPopUp.jsx +++ b/src/components/MarketPlace/PopUp/MarketPopUp.jsx @@ -158,7 +158,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt, marketPlaceProduc /> : <> -
+

{details?.offer_depend_uid && } @@ -198,13 +198,13 @@ const MarketPopUp = ({ details, onClose, situation, marketInt, marketPlaceProduc > {danger ? (

) : ( -

+

{name !== "Delivery Detail" ? ( <> {typeof content !== "object" ? content : null}