fix: remove incorrect API request on the logs explorer page (#3266)

This commit is contained in:
Danil Nazarenko 2023-08-04 10:31:54 +03:00 committed by GitHub
parent 7fb29ad2ee
commit daebea701d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -103,6 +103,7 @@ function LogsContextList({
PANEL_TYPES.LIST,
{
keepPreviousData: true,
enabled: !!requestData,
onSuccess: handleSuccess,
},
);

View File

@ -154,7 +154,7 @@ function LogsExplorerViews(): JSX.Element {
panelType,
{
keepPreviousData: true,
enabled: !isLimit,
enabled: !isLimit && !!requestData,
},
{
...(timeRange &&