Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore: Fixes loading more logs in logs context view #24135

Merged
merged 11 commits into from May 14, 2020
Expand Up @@ -160,11 +160,11 @@ export const LogRowContextProvider: React.FunctionComponent<LogRowContextProvide
let hasMoreLogsBefore = true,
hasMoreLogsAfter = true;

if (currentResult && currentResult.data[0].length === value.data[0].length) {
if (currentResult && currentResult.data[0][0].length === value.data[0][0].length) {
hasMoreLogsBefore = false;
}

if (currentResult && currentResult.data[1].length === value.data[1].length) {
if (currentResult && currentResult.data[1][0].length === value.data[1][0].length) {
hasMoreLogsAfter = false;
}

Expand Down