Allow only team owner to remove other members

This commit is contained in:
Francis Cao 2024-02-07 11:58:58 -08:00
parent 8969a010e8
commit a47f94c577
2 changed files with 12 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import TeamMemberRemoveButton from './TeamMemberRemoveButton';
export function TeamMembersTable({
data = [],
teamId,
allowEdit,
allowEdit = false,
}: {
data: any[];
teamId: string;