mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Update SessionStats.tsx
This commit is contained in:
parent
99f4a72e80
commit
8b80a774fd
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export function SessionStats({ data }) {
|
||||||
<MetricCard
|
<MetricCard
|
||||||
label={formatMessage(labels.visitDuration)}
|
label={formatMessage(labels.visitDuration)}
|
||||||
value={data?.totaltime / data?.visits}
|
value={data?.totaltime / data?.visits}
|
||||||
formatValue={n => `${+n < 0 ? '-' : ''}${formatShortTime(Math.abs(~~n), ['m', 's'], ' ')}`}
|
formatValue={n => `${+n < 0 ? '-' : ''}${formatShortTime(intl, Math.abs(~~n))}`}
|
||||||
/>
|
/>
|
||||||
</MetricsBar>
|
</MetricsBar>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue