In addition to isDashboardSelectorAvailable, it would be great to export isAlertSelectorAvailable as well.
Why?
This allows the usage of EntitySwitch on the EntityPage. Instead of throwing an error, if there are not Grafana annotations, the card then is simply not rendered.
In addition to
isDashboardSelectorAvailable
, it would be great to exportisAlertSelectorAvailable
as well.Why?
This allows the usage of
EntitySwitch
on the EntityPage. Instead of throwing an error, if there are not Grafana annotations, the card then is simply not rendered.EntitySwitch Example