mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +01:00
Added card mode to DataTable.
This commit is contained in:
parent
5f73e4e8db
commit
a15fb89c90
8 changed files with 22 additions and 64 deletions
|
|
@ -9,13 +9,14 @@ export function WebsitesTable({
|
|||
showActions,
|
||||
allowEdit,
|
||||
allowView,
|
||||
cardMode,
|
||||
children,
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { user } = useUser();
|
||||
|
||||
return (
|
||||
<GridTable data={data}>
|
||||
<GridTable data={data} cardMode={cardMode}>
|
||||
<GridColumn name="name" label={formatMessage(labels.name)} />
|
||||
<GridColumn name="domain" label={formatMessage(labels.domain)} />
|
||||
{showTeam && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue