sentry
sentry copied to clipboard
fix(dashboards): Don't show Add an Equation when dataset incompatible
Issue widgets were displaying an "Add an Equation" button. The check for it was a conditional rendering check which had a typo in it, instead control the button from the caller and use the enableEquations field from the datasets in the widget builder.
This field is always true in Discover, so set that to always true as well.