Skip to content

Commit

Permalink
Add users' roles to user table
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielrindlaub committed Oct 24, 2023
1 parent ffc98c5 commit 22fb5cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/features/projects/ManageUsersTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ const ManageUsersTable = () => {
<thead>
<tr>
<TableHeadCell>User email</TableHeadCell>
<TableHeadCell>Roles</TableHeadCell>
<TableHeadCell>Actions</TableHeadCell>
</tr>
</thead>
<tbody>
{userSorted.map(({ email }) => (
{userSorted.map(({ email, roles }) => (
<TableRow key={email}>
<TableCell>{email}</TableCell>
<TableCell>{roles.join(', ')}</TableCell>
<TableCell>
<Tooltip>
<TooltipTrigger asChild>
Expand Down

0 comments on commit 22fb5cc

Please sign in to comment.