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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user