mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Added filter buttons for realtime.
This commit is contained in:
parent
5a73c224b7
commit
f1624780ee
13 changed files with 194 additions and 105 deletions
|
|
@ -12,7 +12,7 @@ export default function DataTable({
|
|||
metric,
|
||||
className,
|
||||
renderLabel,
|
||||
height = 400,
|
||||
height,
|
||||
animate = true,
|
||||
virtualize = false,
|
||||
}) {
|
||||
|
|
@ -49,7 +49,7 @@ export default function DataTable({
|
|||
{metric}
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.body}>
|
||||
<div className={styles.body} style={{ height }}>
|
||||
{data?.length === 0 && <NoData />}
|
||||
{virtualize && data.length > 0 ? (
|
||||
<FixedSizeList height={height} itemCount={data.length} itemSize={30}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue