From ebe6b08cab666945538821c7bba00af8109751c3 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Thu, 18 Jul 2024 20:46:36 +0700 Subject: [PATCH] Public key to not invited state change for project provisioning ui --- .../components/UserProjectsSection/UserProjectsSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserProjectsSection.tsx b/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserProjectsSection.tsx index dabc97c5f..c93e1fa8b 100644 --- a/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserProjectsSection.tsx +++ b/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserProjectsSection.tsx @@ -51,7 +51,7 @@ export const UserProjectsSection = ({ membershipId }: Props) => {

Projects

- {userId !== membership.user.id && Boolean(membership.user.publicKey) && ( + {userId !== membership.user.id && membership.status !== "invited" && (