mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Merge branch 'dev' into jajaja
# Conflicts: # pnpm-lock.yaml # postcss.config.js # src/app/(main)/websites/[websiteId]/sessions/SessionsDataTable.tsx # src/app/(main)/websites/[websiteId]/sessions/[sessionId]/SessionInfo.tsx
This commit is contained in:
commit
c0ccffeab4
21 changed files with 382 additions and 1281 deletions
|
|
@ -14,7 +14,7 @@ export function SessionsDataTable({
|
|||
const queryResult = useWebsiteSessionsQuery(websiteId);
|
||||
|
||||
return (
|
||||
<DataGrid queryResult={queryResult} allowSearch={false} renderEmpty={() => children}>
|
||||
<DataGrid queryResult={queryResult} allowSearch={true} renderEmpty={() => children}>
|
||||
{({ data }) => <SessionsTable data={data} showDomain={!websiteId} />}
|
||||
</DataGrid>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ export function SessionInfo({ data }) {
|
|||
<TextField value={data?.id} allowCopy />
|
||||
</Box>
|
||||
|
||||
<Box>
|
||||
<Label>{formatMessage(labels.distinctId)}</Label>
|
||||
<Row>{data?.distinctId}</Row>
|
||||
</Box>
|
||||
|
||||
<Box>
|
||||
<Label>{formatMessage(labels.lastSeen)}</Label>
|
||||
<Row>{formatTimezoneDate(data?.lastAt, 'PPPPpp')}</Row>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue