mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
parent
bc737268b6
commit
ffa97d34e2
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ export function Revenue({ websiteId, startDate, endDate, unit }: RevenueProps) {
|
|||
metric={formatMessage(labels.revenue)}
|
||||
data={data?.country.map(({ name, value }: { name: string; value: number }) => ({
|
||||
label: name,
|
||||
count: value,
|
||||
count: Number(value),
|
||||
percent: (value / data?.total.sum) * 100,
|
||||
}))}
|
||||
currency={currency}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue