Merge branch 'add-family-btn-bug' of WrenchBoard/Users-Wrench into master
This commit is contained in:
@@ -87,7 +87,7 @@ export default function FamilyTable({
|
|||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col flex-[0.9]">
|
<div className="flex flex-col flex-[0.9]">
|
||||||
<h1 className="font-bold text-xl text-dark-gray dark:text-white whitespace-nowrap">
|
<h1 className="font-bold text-xl text-dark-gray dark:text-white whitespace-nowrap">
|
||||||
{`${firstname} ${lastname} (${age})`}
|
{`${firstname} ${lastname} (${age < 10 ? `0${age}` : age})`}
|
||||||
</h1>
|
</h1>
|
||||||
<span className="text-sm text-thin-light-gray">
|
<span className="text-sm text-thin-light-gray">
|
||||||
Added: <span className="text-purple ml-1">{addedDate}</span>
|
Added: <span className="text-purple ml-1">{addedDate}</span>
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export default function FamilyAcc() {
|
|||||||
>
|
>
|
||||||
Family Accounts
|
Family Accounts
|
||||||
</span>
|
</span>
|
||||||
{familyList.length < process.env.REACT_APP_MAX_FAMILY_MEMBERS &&
|
{familyList?.result_list?.length < process.env.REACT_APP_MAX_FAMILY_MEMBERS &&
|
||||||
!loader && (
|
!loader && (
|
||||||
<button
|
<button
|
||||||
onClick={popUpHandler}
|
onClick={popUpHandler}
|
||||||
|
|||||||
Reference in New Issue
Block a user