mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Updated reports components.
This commit is contained in:
parent
f5bc3dc6c2
commit
0f6cdf8b80
95 changed files with 580 additions and 698 deletions
|
|
@ -90,7 +90,7 @@ export function formatCurrency(value: number, currency: string, locale = 'en-US'
|
|||
style: 'currency',
|
||||
currency: currency,
|
||||
});
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Fallback to default currency format if an error occurs
|
||||
formattedValue = new Intl.NumberFormat(locale, {
|
||||
style: 'currency',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue