From f4ea8d9197e8f1a153cae3fa878753f6d5876c63 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Fri, 29 Mar 2024 09:22:51 +0100 Subject: [PATCH] removed quick links on family login --- .../MyActiveJobs/ActiveJobsMedia.jsx | 80 +++++++++---------- src/components/Partials/Layout.jsx | 8 +- 2 files changed, 46 insertions(+), 42 deletions(-) diff --git a/src/components/MyActiveJobs/ActiveJobsMedia.jsx b/src/components/MyActiveJobs/ActiveJobsMedia.jsx index d894e64..c452e31 100644 --- a/src/components/MyActiveJobs/ActiveJobsMedia.jsx +++ b/src/components/MyActiveJobs/ActiveJobsMedia.jsx @@ -397,7 +397,7 @@ function ActiveJobsMedia(props) { -
+
{/* TEXTAREA SECTION */}
@@ -495,51 +495,51 @@ function ActiveJobsMedia(props) { {/* Buttons Sections */}
-
- - {tab == "files" ? ( +
+ {tab == "files" ? ( + - ) : ( - ) : ( - Send + )} - - )}
{/* end of Buttons Sections */} diff --git a/src/components/Partials/Layout.jsx b/src/components/Partials/Layout.jsx index acf90ad..5432e35 100644 --- a/src/components/Partials/Layout.jsx +++ b/src/components/Partials/Layout.jsx @@ -10,6 +10,8 @@ import RightSideBar from "./RightSideBar"; import Sidebar from "./Sidebar"; export default function Layout({ children }) { + const { userDetails } = useSelector((state) => state?.userDetails); // CHECKS FOR USER Details + const { drawer } = useSelector((state) => state.drawer); const { userJobList } = useSelector((state) => state.userJobList); const dispatch = useDispatch(); @@ -52,7 +54,7 @@ export default function Layout({ children }) { return ( <> -
+
{/* sidebar */} {/* container */}
-
+
{children && children}
+ {userDetails.account_type == 'FULL' &&
+ }
-- 2.34.1