Added owner column to teams table.

This commit is contained in:
Mike Cao committed 2023-02-02 02:54:43 -08:00
1 parent e5b57f63cd
commit 22aeaf7166
3 files changed
+4 -3

No files matched your search

@@ -42,7 +42,7 @@ export default function TeamsTable({ data = [] }) {
const rowData = {
...row,
owner: row.teamUsers.find(({ role }) => role === ROLES.teamOwner)?.user?.username,
owner: row.teamUser.find(({ role }) => role === ROLES.teamOwner)?.user?.username,
action: (
<Flexbox flex={1} justifyContent="end">
<Link href={`/settings/teams/${id}`}>