diff --git a/frontend/src/container/LogsContextList/index.tsx b/frontend/src/container/LogsContextList/index.tsx index 0433a5f636..7037a386aa 100644 --- a/frontend/src/container/LogsContextList/index.tsx +++ b/frontend/src/container/LogsContextList/index.tsx @@ -103,6 +103,7 @@ function LogsContextList({ PANEL_TYPES.LIST, { keepPreviousData: true, + enabled: !!requestData, onSuccess: handleSuccess, }, ); diff --git a/frontend/src/container/LogsExplorerViews/index.tsx b/frontend/src/container/LogsExplorerViews/index.tsx index d0fb3e4c20..6eb50af93d 100644 --- a/frontend/src/container/LogsExplorerViews/index.tsx +++ b/frontend/src/container/LogsExplorerViews/index.tsx @@ -154,7 +154,7 @@ function LogsExplorerViews(): JSX.Element { panelType, { keepPreviousData: true, - enabled: !isLimit, + enabled: !isLimit && !!requestData, }, { ...(timeRange &&