Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: list pagination (#3121)

Yevhen Shevchenko538261aa997a
diff --git a/frontend/src/container/LogsExplorerViews/index.tsx b/frontend/src/container/LogsExplorerViews/index.tsx
index 0a7d643c03..580b80e200 100644
--- a/frontend/src/container/LogsExplorerViews/index.tsx
+++ b/frontend/src/container/LogsExplorerViews/index.tsx
@@ -271,6 +271,7 @@ function LogsExplorerViews(): JSX.Element {
const handleEndReached = useCallback(
(index: number) => {
if (isLimit) return;
+ if (logs.length < pageSize) return;
const lastLog = logs[index];
@@ -368,7 +369,7 @@ function LogsExplorerViews(): JSX.Element {
useEffect(() => {
const shouldChangeView = isMultipleQueries || isGroupByExist;
- if (panelType === 'list' && shouldChangeView) {
+ if (panelType === PANEL_TYPES.LIST && shouldChangeView) {
handleChangeView(PANEL_TYPES.TIME_SERIES);
}
}, [panelType, isMultipleQueries, isGroupByExist, handleChangeView]);