fixed relative list
This commit was merged in pull request #553.
This commit is contained in:
@@ -24,21 +24,22 @@ export default function RelativeTable({relativeList}) {
|
||||
{relativeList && relativeList?.length > 0 ? (
|
||||
currentRelativeList.map((value, index) => (
|
||||
<tr key={value.uid || index} className="border-b dark:border-[#5356fb29] hover:bg-gray-50">
|
||||
<td className='py-2'>
|
||||
<td className='p-2'>
|
||||
<div className="flex flex-col">
|
||||
<h1 className="font-bold text-xl text-dark-gray dark:text-white">
|
||||
{/* {value.firstname && value.firstname} {value.lastname && value.lastname} */} Firstname Lastname
|
||||
{value.firstname && value.firstname} {value.lastname && value.lastname}
|
||||
</h1>
|
||||
<span className="text-sm text-thin-light-gray">
|
||||
{/* {value.email && value.email} */} email.gmail.com
|
||||
{value.email && value.email}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td className='py-2'>
|
||||
family type
|
||||
<td className='p-2'>
|
||||
{/* <span>Family Type</span> */}
|
||||
<span>{value.family_type && value.family_type.toUpperCase()}</span>
|
||||
</td>
|
||||
<td className='py-2 text-right'>
|
||||
{0}
|
||||
<td className='p-2 text-right'>
|
||||
{value.status && value.status}
|
||||
</td>
|
||||
</tr>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user