ae3e / ae3e-plotly-panel

Plotly panel for Grafana
Apache License 2.0
94 stars 24 forks source link

Cannot read properties of undefined (reading 'text') - Grafana 8.0+ - Plotly - Elasticsearch #48

Open faisal00813 opened 2 years ago

faisal00813 commented 2 years ago

Grafana Version: v8.3.0 ae3e Plotly version: 0.5.0 Elasticsearch: 7.0+

Getting Cannot read properties of undefined (reading 'text') when using variables with adhoc filters

image

image

Variable: image

faisal00813 commented 2 years ago

I believe adding a null check here should solve this issue. https://github.com/ae3e/ae3e-plotly-panel/blob/6cbda2b6454ac51b38463f7746fce6e7e61aea69/src/SimplePanel.tsx#L37