From c7d50bb7ce892d579ca974cf29702a8dfd2a1e00 Mon Sep 17 00:00:00 2001 From: LAKHAN BAHETI Date: Tue, 12 Dec 2023 17:00:59 +0530 Subject: [PATCH] fix: member role project leave --- web/components/project/member-list-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/project/member-list-item.tsx b/web/components/project/member-list-item.tsx index 2d987fd53..aa70b4703 100644 --- a/web/components/project/member-list-item.tsx +++ b/web/components/project/member-list-item.tsx @@ -168,7 +168,7 @@ export const ProjectMemberListItem: React.FC = observer((props) => { ); })} - {isAdmin && ( + {(isAdmin || memberDetails.id === currentProjectMemberInfo?.member.id) && (