File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugins/security_solution/public/detections/components/alerts_table Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export const AlertsTableComponent: React.FC<AlertsTableComponentProps> = ({
116116 const [ addExceptionModalState , setAddExceptionModalState ] = useState < AddExceptionModalBaseProps > (
117117 addExceptionModalInitialState
118118 ) ;
119- const [ { browserFields, indexPatterns } ] = useFetchIndexPatterns (
119+ const [ { browserFields, indexPatterns, isLoading : indexPatternsLoading } ] = useFetchIndexPatterns (
120120 signalsIndex !== '' ? [ signalsIndex ] : [ ] ,
121121 'alerts_table'
122122 ) ;
@@ -434,7 +434,7 @@ export const AlertsTableComponent: React.FC<AlertsTableComponentProps> = ({
434434 closeAddExceptionModal ,
435435 ] ) ;
436436
437- if ( loading || isEmpty ( signalsIndex ) ) {
437+ if ( loading || indexPatternsLoading || isEmpty ( signalsIndex ) ) {
438438 return (
439439 < EuiPanel >
440440 < HeaderSection title = "" />
You can’t perform that action at this time.
0 commit comments