cloudspout / cloudspout-button-panel

Grafana panel to integrate with any kind of HTTP/REST API
MIT License
50 stars 35 forks source link

"Cannot read property 'forEach' of undefined" after pressing the button #32

Closed kochetov-dmitrij closed 3 years ago

kochetov-dmitrij commented 3 years ago
Снимок экрана 2020-11-21 в 11 30 40

Expected Behavior

The same behaviour as on the gif in Readme. No errors in the console, sending the request and showing a check mark instead of the loading animation.

Current Behavior

JS throws an error "Cannot read property 'forEach' of undefined" after pressing the button with the same config as in the Readme file. The query is not sent and the button gets stuck with 'loading' animation

Environment

grafana:7.3.2 cloudspout-button-panel:7.0.7 chrome 86.0.4240.198 (mac)

derjust commented 3 years ago

This issue is known as #27 and fixed as 550e37d7be1b43f3813680fa59979fd82c655dbf

The new release will be available as soon as this gets merged: https://github.com/grafana/grafana-plugin-repository/pull/756

Wokarounds till then: