You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing a couple issues when clicking on chart datapoints in playbooks.
In bar_graph.tsx and line_graph.tsx the element[0] fed into props.onClick doesn't have an _index member, so undefined is passed instead of the number in index.
In the debugger these onClick drop directly into filterStarted or filterActive, but in both cases the argument they receive is undefined even if the onClick functions are modified to pass a real number into the onClick call.
Uncaught TypeError: Cannot read properties of undefined (reading '0')
at Object.onClick (stats_view.tsx:82:63)
at a1.onClick (bar_graph.tsx:106:31)
at cG (helpers.segment.js:92:15)
at a1._handleEvent (chart.esm.js:6117:9)
at a1._eventHandler (chart.esm.js:6099:26)
at r (chart.esm.js:5979:12)
at a1.t (chart.esm.js:3216:7)
at helpers.segment.js:28:12
The text was updated successfully, but these errors were encountered:
We're seeing a couple issues when clicking on chart datapoints in playbooks.
element[0]
fed intoprops.onClick
doesn't have an_index
member, soundefined
is passed instead of the number inindex
.onClick
drop directly intofilterStarted
orfilterActive
, but in both cases the argument they receive isundefined
even if theonClick
functions are modified to pass a real number into theonClick
call.The text was updated successfully, but these errors were encountered: