mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Added owner column to teams table.
This commit is contained in:
parent
e5b57f63cd
commit
22aeaf7166
3 changed files with 4 additions and 3 deletions
|
|
@ -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}`}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue