mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Move date range selection into redux.
This commit is contained in:
parent
d06c077019
commit
c5cb19a3bf
21 changed files with 141 additions and 138 deletions
|
|
@ -2,15 +2,13 @@ import React from 'react';
|
|||
import MetricsTable from './MetricsTable';
|
||||
import { osFilter } from 'lib/filters';
|
||||
|
||||
export default function OSTable({ websiteId, startDate, endDate, limit, onExpand }) {
|
||||
export default function OSTable({ websiteId, limit, onExpand }) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title="Operating System"
|
||||
type="os"
|
||||
metric="Visitors"
|
||||
websiteId={websiteId}
|
||||
startDate={startDate}
|
||||
endDate={endDate}
|
||||
limit={limit}
|
||||
dataFilter={osFilter}
|
||||
onExpand={onExpand}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue