diff --git a/src/components/AuthPages/Login/index2.jsx b/src/components/AuthPages/Login/index2.jsx index d2535fe..08cb933 100644 --- a/src/components/AuthPages/Login/index2.jsx +++ b/src/components/AuthPages/Login/index2.jsx @@ -4,7 +4,7 @@ import linkedInLogo from "../../../assets/images/Linkedin.png"; import appleLogo from "../../../assets/images/apple-black.svg"; import facebookLogo from "../../../assets/images/facebook.svg"; import googleLogo from "../../../assets/images/google-logo.svg"; -import WrenchBoard from "../../../assets/images/wrenchboard-logo-text.png"; +import WrenchBoard from "../../../assets/images/wrenchboard-logo-text_new.png"; import usersService from "../../../services/UsersService"; import InputCom from "../../Helpers/Inputs/InputCom"; import AuthLayout from "../AuthLayout2"; diff --git a/src/components/attachmentCom/AttachFile.jsx b/src/components/attachmentCom/AttachFile.jsx index 1e0a662..41030dc 100644 --- a/src/components/attachmentCom/AttachFile.jsx +++ b/src/components/attachmentCom/AttachFile.jsx @@ -73,7 +73,7 @@ export default function AttachFile({data='', showOnData=false}) { return ( <> {!showOnData ? -
+
@@ -84,37 +84,39 @@ export default function AttachFile({data='', showOnData=false}) { {requestStatus.message} }
- +
-
- {uploadedList.loading ? -
- +
+
+ {uploadedList.loading ? +
+ +
+ : + Object.keys(uploadedList.data).length > 0 ? + uploadedList.data.result_list.length > 0 ? + uploadedList.data.result_list.map((item, index) => { + let fileNameExt = item.originalname.split('.')[item.originalname.split('.').length - 1] + return( + + ) + }) + : +

No Uploaded files yet

+ : + <> + }
- : - Object.keys(uploadedList.data).length > 0 ? - uploadedList.data.result_list.length > 0 ? - uploadedList.data.result_list.map((item, index) => { - let fileNameExt = item.originalname.split('.')[item.originalname.split('.').length - 1] - return( - - ) - }) - : -

No Uploaded files yet

- : - <> - }
:showOnData && uploadedList?.data?.result_list?.length > 0 ? -
+
Files
-
- {uploadedList.data.result_list.map((item, index) => { - let fileNameExt = item.originalname.split('.')[item.originalname.split('.').length - 1] - return( - - ) - }) - } +
+
+ {uploadedList.data.result_list.map((item, index) => { + let fileNameExt = item.originalname.split('.')[item.originalname.split('.').length - 1] + return( + + ) + }) + } +