Related to #20 in that this might points towards a different api endpoint.
If you make a GEL query that has no responses, then Respond in grafana/grafana/pkg/api/common.go sees no Frames, and sends a regular response instead of a DataFrame response. This then confuses the front end.
This can be simulated by clicking the "eye" icon to hide all the queries in a GEL query which will return a response like results: {"": {refId: "", series: [], tables: null, frames: {}}} and cause the UI to return Cannot read property 'map' of undefined
Related to #20 in that this might points towards a different api endpoint.
If you make a GEL query that has no responses, then
Respond
ingrafana/grafana/pkg/api/common.go
sees no Frames, and sends a regular response instead of a DataFrame response. This then confuses the front end.This can be simulated by clicking the "eye" icon to hide all the queries in a GEL query which will return a response like
results: {"": {refId: "", series: [], tables: null, frames: {}}}
and cause the UI to returnCannot read property 'map' of undefined