[SIEM] Moves installation of jobs from initial page load to opening of Anomaly Detection UI (#45536)

This commit is contained in:
Garrett Spong 2019-09-12 14:51:17 -06:00 committed by GitHub
parent bdc2575d79
commit 42b80af630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,7 @@ export const MlPopover = React.memo(() => {
// Install Config Templates as effect of opening popover
useEffect(() => {
if (
isPopoverOpen &&
jobSummaryData != null &&
configuredIndexPatternTitles.length > 0 &&
configTemplatesToInstall.length > 0