feat: added invitaion pending pills (#606)

This commit is contained in:
Kunal Vishwakarma 2023-03-30 16:01:24 +05:30 committed by GitHub
parent f5f90dab69
commit c5ccc29418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +189,12 @@ const MembersSettings: NextPage<UserAuth> = (props) => {
<p className="text-xs text-gray-500">{member.email}</p> <p className="text-xs text-gray-500">{member.email}</p>
</div> </div>
</div> </div>
<div className="flex items-center">
{!member?.status && (
<div className="flex mr-2 px-2 py-1 bg-yellow-200 text-center rounded-full text-xs items-center justify-center">
<p>Pending</p>
</div>
)}
<div className="flex items-center gap-2 text-xs"> <div className="flex items-center gap-2 text-xs">
<CustomSelect <CustomSelect
label={ROLE[member.role as keyof typeof ROLE]} label={ROLE[member.role as keyof typeof ROLE]}
@ -242,6 +248,7 @@ const MembersSettings: NextPage<UserAuth> = (props) => {
</CustomMenu> </CustomMenu>
</div> </div>
</div> </div>
</div>
)) ))
: null} : null}
</div> </div>