mirror of https://github.com/grafana/grafana.git
chore: fix
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
This commit is contained in:
parent
77a649d4ed
commit
e875bacb82
|
@ -14,7 +14,8 @@ export function getAnnotationFrames(dataFrames: DataFrame[] = []) {
|
||||||
return dataFrames.filter(
|
return dataFrames.filter(
|
||||||
(frame) =>
|
(frame) =>
|
||||||
frame.name !== 'exemplar' &&
|
frame.name !== 'exemplar' &&
|
||||||
|
frame.meta?.dataTopic === DataTopic.Annotations &&
|
||||||
frame.length > 0 &&
|
frame.length > 0 &&
|
||||||
frame.fields.some((f) => f.name === 'time' && frame.meta?.dataTopic === DataTopic.Annotations)
|
frame.fields.some((f) => f.name === 'time')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue