diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index dc4e7c3..bf55bf5 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -44,13 +44,13 @@ const AccountDashboard = ({ className, bannerList, offersList, imageServer }) => ); let image = `${imageServer}${localStorage.getItem("session_token")}/job/${item.job_uid}` - return ( -
- {index < 3 && - - } -
- ) + if(index < 3){ + return ( +
+ +
+ ) + } })} @@ -89,12 +89,11 @@ const AccountDashboard = ({ className, bannerList, offersList, imageServer }) => let image = `${imageServer}${localStorage.getItem("session_token")}/job/${item.job_uid}` if(index >= 3) { - return - (
+ return( +
-
) - }else{ - null +
+ ) } })} diff --git a/src/components/jobPopout/OfferJobPopout.jsx b/src/components/jobPopout/OfferJobPopout.jsx index 4e3e375..d285cc9 100644 --- a/src/components/jobPopout/OfferJobPopout.jsx +++ b/src/components/jobPopout/OfferJobPopout.jsx @@ -200,6 +200,7 @@ function OfferJobPopout({ details, onClose, situation }) { rows="5" style={{ resize: "none" }} value={details.job_description || details.job_detail} + readOnly />