Skip to content

Commit

Permalink
Add (me) to self in Staff list
Browse files Browse the repository at this point in the history
  • Loading branch information
hieungo89 committed Nov 14, 2023
1 parent 1fa93c4 commit 7d6ec9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ export default function EnhancedTable<
)}
{visibleRows.map((row) => {
const labelId = row.email;
console.log("row ", row);

return (
<StyledTableRow
Expand All @@ -396,6 +397,9 @@ export default function EnhancedTable<
>
<TableCell component="th" id={labelId} scope="row">
{row.first_name}
{!isStudentWithIep(row) &&
row.role === "admin" &&
" (me)"}
</TableCell>
<TableCell align={"left"}>{row.last_name}</TableCell>
<TableCell align={"left"}>{row.email}</TableCell>
Expand Down

0 comments on commit 7d6ec9a

Please sign in to comment.