mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Add teamId.
This commit is contained in:
parent
86515d6456
commit
236a26136d
@ -33,6 +33,7 @@ export function TeamMembers({ teamId, readOnly }) {
|
||||
<>
|
||||
<TeamMembersTable
|
||||
onSave={handleSave}
|
||||
teamId={teamId}
|
||||
data={data}
|
||||
readOnly={readOnly}
|
||||
onFilterChange={handleFilterChange}
|
||||
|
@ -6,6 +6,7 @@ import SettingsTable from 'components/common/SettingsTable';
|
||||
|
||||
export function TeamMembersTable({
|
||||
data = [],
|
||||
teamId,
|
||||
onSave,
|
||||
readOnly,
|
||||
filterValue,
|
||||
@ -50,7 +51,7 @@ export function TeamMembersTable({
|
||||
return (
|
||||
!readOnly && (
|
||||
<TeamMemberRemoveButton
|
||||
teamId={row.teamId}
|
||||
teamId={teamId}
|
||||
userId={row.id}
|
||||
disabled={user.id === row?.user?.id || row.role === ROLES.teamOwner}
|
||||
onSave={onSave}
|
||||
|
Loading…
Reference in New Issue
Block a user