Skip to content

Commit f5bc434

Browse files
author
Maja Grubic
committed
Reintroduce not loading if status == FAILED
1 parent 68339be commit f5bc434

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plugins/discover/public/application/components/context_error_message/context_error_message.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export interface ContextErrorMessageProps {
3434
}
3535

3636
export function ContextErrorMessage({ status, reason }: ContextErrorMessageProps) {
37+
if (status !== LOADING_STATUS.FAILED) {
38+
return null;
39+
}
3740
return (
3841
<I18nProvider>
3942
<EuiCallOut

0 commit comments

Comments
 (0)