mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
Merge branch 'dev' into analytics
This commit is contained in:
commit
802873ce19
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "umami",
|
"name": "umami",
|
||||||
"version": "2.10.2",
|
"version": "2.11.0",
|
||||||
"description": "A simple, fast, privacy-focused alternative to Google Analytics.",
|
"description": "A simple, fast, privacy-focused alternative to Google Analytics.",
|
||||||
"author": "Umami Software, Inc. <hello@umami.is>",
|
"author": "Umami Software, Inc. <hello@umami.is>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -7,7 +7,7 @@ import ListTable from 'components/metrics/ListTable';
|
|||||||
import styles from './UTMView.module.css';
|
import styles from './UTMView.module.css';
|
||||||
import { useMessages } from 'components/hooks';
|
import { useMessages } from 'components/hooks';
|
||||||
|
|
||||||
function toArray(data: { [key: string]: number }) {
|
function toArray(data: { [key: string]: number } = {}) {
|
||||||
return Object.keys(data)
|
return Object.keys(data)
|
||||||
.map(key => {
|
.map(key => {
|
||||||
return { name: key, value: data[key] };
|
return { name: key, value: data[key] };
|
||||||
|
Loading…
Reference in New Issue
Block a user