mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 00:27:35 +00:00
Public key to not invited state change for project provisioning ui
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ export const UserProjectsSection = ({ membershipId }: Props) => {
|
|||||||
<div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
<div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
||||||
<div className="flex items-center justify-between border-b border-mineshaft-400 pb-4">
|
<div className="flex items-center justify-between border-b border-mineshaft-400 pb-4">
|
||||||
<h3 className="text-lg font-semibold text-mineshaft-100">Projects</h3>
|
<h3 className="text-lg font-semibold text-mineshaft-100">Projects</h3>
|
||||||
{userId !== membership.user.id && Boolean(membership.user.publicKey) && (
|
{userId !== membership.user.id && membership.status !== "invited" && (
|
||||||
<IconButton
|
<IconButton
|
||||||
ariaLabel="copy icon"
|
ariaLabel="copy icon"
|
||||||
variant="plain"
|
variant="plain"
|
||||||
|
|||||||
Reference in New Issue
Block a user