mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: member role project leave
This commit is contained in:
parent
90de11c08d
commit
c7d50bb7ce
@ -168,7 +168,7 @@ export const ProjectMemberListItem: React.FC<Props> = observer((props) => {
|
||||
);
|
||||
})}
|
||||
</CustomSelect>
|
||||
{isAdmin && (
|
||||
{(isAdmin || memberDetails.id === currentProjectMemberInfo?.member.id) && (
|
||||
<Tooltip
|
||||
tooltipContent={
|
||||
memberDetails.id === currentProjectMemberInfo?.member.id ? "Leave project" : "Remove member"
|
||||
|
Loading…
Reference in New Issue
Block a user