mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
New settings layouts. Segment management screen.
This commit is contained in:
parent
2dbcf63eeb
commit
eb7b6978d3
70 changed files with 762 additions and 499 deletions
|
|
@ -7,7 +7,7 @@ import Link from 'next/link';
|
|||
|
||||
export function TeamsTable({
|
||||
data = [],
|
||||
showActions = true,
|
||||
showActions = false,
|
||||
}: {
|
||||
data: any[];
|
||||
allowEdit?: boolean;
|
||||
|
|
@ -29,7 +29,7 @@ export function TeamsTable({
|
|||
<DataColumn id="members" label={formatMessage(labels.members)}>
|
||||
{(row: any) => row._count.teamUser}
|
||||
</DataColumn>
|
||||
{showActions && (
|
||||
{showActions ? (
|
||||
<DataColumn id="action" label=" " align="end">
|
||||
{(row: any) => {
|
||||
const { id } = row;
|
||||
|
|
@ -56,7 +56,7 @@ export function TeamsTable({
|
|||
);
|
||||
}}
|
||||
</DataColumn>
|
||||
)}
|
||||
) : null}
|
||||
</DataTable>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue