mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 03:55:37 +01:00
Added All TIme Filter
This commit is contained in:
parent
8b4690ad8d
commit
26f2447973
12 changed files with 102 additions and 96 deletions
|
|
@ -11,7 +11,7 @@ import styles from './PagesTable.module.css';
|
|||
export const FILTER_COMBINED = 0;
|
||||
export const FILTER_RAW = 1;
|
||||
|
||||
export default function PagesTable({ websiteId, websiteDomain, showFilters, ...props }) {
|
||||
export default function PagesTable({ websiteId, websiteDomain, showFilters, createdAt, ...props }) {
|
||||
const [filter, setFilter] = useState(FILTER_COMBINED);
|
||||
const {
|
||||
resolve,
|
||||
|
|
@ -52,6 +52,7 @@ export default function PagesTable({ websiteId, websiteDomain, showFilters, ...p
|
|||
dataFilter={urlFilter}
|
||||
filterOptions={{ domain: websiteDomain, raw: filter === FILTER_RAW }}
|
||||
renderLabel={renderLink}
|
||||
createdAt={createdAt}
|
||||
{...props}
|
||||
/>
|
||||
</>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue