mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Fixed change labels display.
This commit is contained in:
parent
6c79175077
commit
9abb201d86
2 changed files with 7 additions and 6 deletions
|
|
@ -62,7 +62,7 @@ export function WebsiteMetricsBar({
|
|||
change:
|
||||
(Math.min(visitors.value, bounces.value) / visitors.value) * 100 -
|
||||
(Math.min(visitors.prev, bounces.prev) / visitors.prev) * 100,
|
||||
formatValue: n => Number(n).toFixed(0) + '%',
|
||||
formatValue: n => Math.round(+n) + '%',
|
||||
reverseColors: true,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue