mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
Convert buttons to links.
This commit is contained in:
parent
4fded49b03
commit
35b921bdb4
21 changed files with 108 additions and 79 deletions
|
|
@ -3,13 +3,7 @@ import MetricsTable from './MetricsTable';
|
|||
import { countryFilter, percentFilter } from 'lib/filters';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
export default function CountriesTable({
|
||||
websiteId,
|
||||
token,
|
||||
limit,
|
||||
onDataLoad = () => {},
|
||||
onExpand,
|
||||
}) {
|
||||
export default function CountriesTable({ websiteId, token, limit, onDataLoad = () => {} }) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title={<FormattedMessage id="metrics.countries" defaultMessage="Countries" />}
|
||||
|
|
@ -20,7 +14,6 @@ export default function CountriesTable({
|
|||
limit={limit}
|
||||
dataFilter={countryFilter}
|
||||
onDataLoad={data => onDataLoad(percentFilter(data))}
|
||||
onExpand={onExpand}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue