mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix adjustMetaInfo limit retrieval (#33631)
This commit is contained in:
parent
1be7d1a733
commit
3c79138d21
@ -475,7 +475,7 @@ function adjustMetaInfo(logsModel: LogsModel, visibleRangeMs?: number, requested
|
||||
let logsModelMeta = [...logsModel.meta!];
|
||||
|
||||
const limitIndex = logsModelMeta.findIndex((meta) => meta.label === LIMIT_LABEL);
|
||||
const limit = limitIndex && logsModelMeta[limitIndex]?.value;
|
||||
const limit = limitIndex >= 0 && logsModelMeta[limitIndex]?.value;
|
||||
|
||||
if (limit && limit > 0) {
|
||||
let metaLimitValue;
|
||||
|
Loading…
Reference in New Issue
Block a user