mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into dev
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts: # prisma/schema.prisma
This commit is contained in:
commit
d51f0641a6
3 changed files with 2 additions and 3 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