mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
fix teammember button conditions
This commit is contained in:
parent
7c1cb7631d
commit
5e5ab6c7c3
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export function TeamMembersTable({
|
||||||
return (
|
return (
|
||||||
allowEdit &&
|
allowEdit &&
|
||||||
row?.role !== ROLES.teamOwner &&
|
row?.role !== ROLES.teamOwner &&
|
||||||
user?.id !== row?.id && (
|
user?.id !== row?.user?.id && (
|
||||||
<>
|
<>
|
||||||
<TeamMemberEditButton teamId={teamId} userId={row?.user?.id} role={row?.role} />
|
<TeamMemberEditButton teamId={teamId} userId={row?.user?.id} role={row?.role} />
|
||||||
<TeamMemberRemoveButton
|
<TeamMemberRemoveButton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue