mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Fix report create for view only, fix createdby on save and add column in team websites table
This commit is contained in:
parent
fd1b9ff7b4
commit
8fbd6871f7
5 changed files with 19 additions and 9 deletions
|
|
@ -13,12 +13,15 @@ export function TeamWebsitesTable({
|
|||
allowEdit?: boolean;
|
||||
}) {
|
||||
const { user } = useLogin();
|
||||
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
return (
|
||||
<GridTable data={data}>
|
||||
<GridColumn name="name" label={formatMessage(labels.name)} />
|
||||
<GridColumn name="domain" label={formatMessage(labels.domain)} />
|
||||
<GridColumn name="createdBy" label={formatMessage(labels.createdBy)}>
|
||||
{row => row?.createUser?.username}
|
||||
</GridColumn>
|
||||
<GridColumn name="action" label=" " alignment="end">
|
||||
{row => {
|
||||
const { id: websiteId } = row;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue