Skip to content

Commit

Permalink
[Metrics UI] Fix Metrics Explorer exception when deleting metric (#55893
Browse files Browse the repository at this point in the history
) (#56186)
  • Loading branch information
simianhacker authored Jan 28, 2020
1 parent 4473e37 commit 95cc0fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const MetricsExplorerChart = ({
</EuiFlexGroup>
)}
<div className="infrastructureChart" style={{ height, width }}>
{series.rows.length > 0 ? (
{metrics.length && series.rows.length > 0 ? (
<Chart>
{metrics.map((metric, id) => (
<MetricExplorerSeriesChart
Expand Down

0 comments on commit 95cc0fc

Please sign in to comment.