mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-27 08:39:49 +00:00
Mizu cant show more than 10000 entries (#973)
This commit is contained in:
parent
0b0b9ce6d1
commit
866378b451
@ -127,7 +127,7 @@ export const EntriesList: React.FC<EntriesListProps> = ({
|
|||||||
if (!focusedEntryId) setFocusedEntryId(entry.id.toString());
|
if (!focusedEntryId) setFocusedEntryId(entry.id.toString());
|
||||||
const newEntries = [...entries, entry];
|
const newEntries = [...entries, entry];
|
||||||
if (newEntries.length === 10001) {
|
if (newEntries.length === 10001) {
|
||||||
setLeftOffTop(newEntries[0].entry.id);
|
setLeftOffTop(newEntries[0].id);
|
||||||
newEntries.shift();
|
newEntries.shift();
|
||||||
setNoMoreDataTop(false);
|
setNoMoreDataTop(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user