Skip to content

Commit

Permalink
Fix bug injected by these changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic committed Oct 19, 2020
1 parent 8578a8e commit fde207b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function CoreVitalItem({

const biggestValIndex = ranks.indexOf(Math.max(...ranks));

if (value === undefined && ranks[0] === 100) {
if (value === undefined && ranks[0] === 100 && !loading) {
return <EuiCard title={title} isDisabled={true} description={NO_DATA} />;
}
return (
Expand Down

0 comments on commit fde207b

Please sign in to comment.