mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 15:28:58 +00:00
Removed the add to project button for new people
This commit is contained in:
+2
-2
@@ -197,14 +197,14 @@ export const OrgMembersTable = ({
|
|||||||
) : (
|
) : (
|
||||||
<div className='flex flex-row'>
|
<div className='flex flex-row'>
|
||||||
<Tag colorSchema="red">This user isn't part of any projects yet</Tag>
|
<Tag colorSchema="red">This user isn't part of any projects yet</Tag>
|
||||||
<button
|
{router.query.id !== 'undefined' && <button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => router.push(`/users/${router.query.id}`)}
|
onClick={() => router.push(`/users/${router.query.id}`)}
|
||||||
className='text-sm bg-mineshaft w-max px-1.5 py-0.5 hover:bg-primary duration-200 hover:text-black cursor-pointer rounded-sm'
|
className='text-sm bg-mineshaft w-max px-1.5 py-0.5 hover:bg-primary duration-200 hover:text-black cursor-pointer rounded-sm'
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faPlus} className="mr-1" />
|
<FontAwesomeIcon icon={faPlus} className="mr-1" />
|
||||||
Add to projects
|
Add to projects
|
||||||
</button>
|
</button>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Td>
|
</Td>
|
||||||
|
|||||||
Reference in New Issue
Block a user