From 866378b4515ae8d6329bfd74e3c96ebbe49ab071 Mon Sep 17 00:00:00 2001 From: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com> Date: Tue, 5 Apr 2022 12:25:01 +0300 Subject: [PATCH] Mizu cant show more than 10000 entries (#973) --- ui-common/src/components/TrafficViewer/EntriesList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-common/src/components/TrafficViewer/EntriesList.tsx b/ui-common/src/components/TrafficViewer/EntriesList.tsx index ceaed9015..53456eed0 100644 --- a/ui-common/src/components/TrafficViewer/EntriesList.tsx +++ b/ui-common/src/components/TrafficViewer/EntriesList.tsx @@ -127,7 +127,7 @@ export const EntriesList: React.FC = ({ if (!focusedEntryId) setFocusedEntryId(entry.id.toString()); const newEntries = [...entries, entry]; if (newEntries.length === 10001) { - setLeftOffTop(newEntries[0].entry.id); + setLeftOffTop(newEntries[0].id); newEntries.shift(); setNoMoreDataTop(false); }