mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +01:00
fix change label
This commit is contained in:
parent
895398bebf
commit
1d9079f6ad
2 changed files with 7 additions and 6 deletions
|
|
@ -62,7 +62,7 @@ export function WebsiteMetricsBar({
|
|||
change:
|
||||
(Math.min(visits.value, bounces.value) / visits.value) * 100 -
|
||||
(Math.min(visits.prev, bounces.prev) / visits.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