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
I'd like to hide theEntityGrafanaDashboardsCard if the annotation is not defined for the entity.
This is commonly done in other plugin with someting similar to:
Agree on having some Boolean function, maybe a new one like isDashboardSelectorApplicable to avoid breaking changes.
I workaround the issue in the following way:
I'd like to hide the
EntityGrafanaDashboardsCard
if the annotation is not defined for the entity.This is commonly done in other plugin with someting similar to:
But here, the snippet does not work since
isDashboardSelectorAvailable
is not a boolean for some reasons.I believe we should have someting like
instead of
What do you think ?
Please let me know if you want me to open a PR.
Thanks in advance
The text was updated successfully, but these errors were encountered: