mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: State timeline tooltip not showing (#40100)
* Fix: State timeline tooltip not showing * Check transformation instead of refId
This commit is contained in:
@@ -49,7 +49,10 @@ export const StateTimelinePanel: React.FC<TimelinePanelProps> = ({
|
||||
* Render nothing in this case to prevent error.
|
||||
* See https://github.com/grafana/support-escalations/issues/932
|
||||
*/
|
||||
if (alignedData.fields.length - 1 !== data.length || !alignedData.fields[seriesIdx]) {
|
||||
if (
|
||||
(!alignedData.meta?.transformations?.length && alignedData.fields.length - 1 !== data.length) ||
|
||||
!alignedData.fields[seriesIdx]
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user