diff options
author | Rohan Raj Gupta <78433013+rohan09-raj@users.noreply.github.com> | 2022-08-24 17:15:38 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 17:15:38 +0530 |
commit | 423020bb2f6b8966450e0e9050e89d52be4946a8 (patch) | |
tree | b34b0a7548a4a342955dda5e1a49842b4b87624c | |
parent | e7c865ec541de142319a570d4fb0ab7b87ee0031 (diff) | |
parent | 481be1ec4c353b1ff00842ec9471cc5df458868f (diff) |
Merge pull request #13 from Blaster4385/develop
Fix admin panel
-rw-r--r-- | admin/src/components/Accordion/Accordion.jsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/admin/src/components/Accordion/Accordion.jsx b/admin/src/components/Accordion/Accordion.jsx index fefd39b..9df7fa1 100644 --- a/admin/src/components/Accordion/Accordion.jsx +++ b/admin/src/components/Accordion/Accordion.jsx @@ -16,16 +16,17 @@ const Accordion = ({name, user}) => { </div> {isActive && ( <div className={styles.accordion__content}> - <div>Indian Resident : {user.indianResident}</div> + <div>Indian Resident : {user.indianResident ? 'Yes' : 'No'}</div> <div>Name : {user.name}</div> <div>Gender : {user.gender}</div> <div>Date of Birth : {user.dob}</div> <div>Mobile Number : {user.mobile}</div> <div>Email : {user.email}</div> - <div>Address : {user.address}</div> - <div>Photograph : {user.photo}</div> - <div>Documents : {user.documents.doc1}</div> - <div>Biometrics : {user.biometrics.bio1}</div> + <div>Address : {user.address.houseNo},{user.address.street},{user.address.locality},{user.address.landmark},{user.address.village},{user.address.district.name},{user.address.state.name},{user.address.pincode}</div> + <img src={`${user.photo}`} /> + <img src={`${user.documents.POI}`} /> + <img src={`${user.documents.POA}`} /> + <img src={`${user.documents.DOB}`} /> </div> )} </div> |