-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(dashboards): Simplify
WidgetCardChart
(#83535)
Moving some code around, in preparation to integrate standards widgets. - Move error handling higher up. Instead of having a bunch of error panels everywhere, check once at the top of the `render` method - Move series colorization higher in the component. Moves the code up to reduce nesting, and makes it easier to return early if needed - Resolve duplication of JSX. Instead of a conditional, pass `enabled` to `ReleaseQueries` to prevent unnecessarily loading data
- Loading branch information
Showing
1 changed file
with
50 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters