mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
style(realtime): fix layout for realtime protocol
This commit is contained in:
parent
c5e03cd5d4
commit
f93ecdfee8
2 changed files with 9 additions and 3 deletions
|
|
@ -176,9 +176,11 @@ export default function RealtimeLog({ data, websites, websiteId }) {
|
|||
</div>
|
||||
<div className={styles.body}>
|
||||
{logs?.length === 0 && <NoData />}
|
||||
<FixedSizeList height={400} itemCount={logs.length} itemSize={40}>
|
||||
{Row}
|
||||
</FixedSizeList>
|
||||
{logs?.length > 0 && (
|
||||
<FixedSizeList height={400} itemCount={logs.length} itemSize={40}>
|
||||
{Row}
|
||||
</FixedSizeList>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue