Skip to content

Commit

Permalink
Reintroduce not loading if status == FAILED
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Oct 28, 2020
1 parent 68339be commit f5bc434
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export interface ContextErrorMessageProps {
}

export function ContextErrorMessage({ status, reason }: ContextErrorMessageProps) {
if (status !== LOADING_STATUS.FAILED) {
return null;
}
return (
<I18nProvider>
<EuiCallOut
Expand Down

0 comments on commit f5bc434

Please sign in to comment.