Skip to content

Commit

Permalink
fix ueba store (elastic#115842) (elastic#115873)
Browse files Browse the repository at this point in the history
Co-authored-by: Xavier Mouligneau <[email protected]>
  • Loading branch information
kibanamachine and XavierM authored Oct 21, 2021
1 parent fffd54c commit 3a16f10
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions x-pack/plugins/security_solution/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,8 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
...subPlugins.hosts.storageTimelines!.timelineById,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
...subPlugins.network.storageTimelines!.timelineById,
...(this.experimentalFeatures.uebaEnabled && subPlugins.ueba != null
? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
subPlugins.ueba.storageTimelines!.timelineById
: {}),
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
...subPlugins.ueba.storageTimelines!.timelineById,
},
},
};
Expand Down Expand Up @@ -418,9 +416,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
{
...subPlugins.hosts.store.reducer,
...subPlugins.network.store.reducer,
...(this.experimentalFeatures.uebaEnabled && subPlugins.ueba != null
? subPlugins.ueba.store.reducer
: {}),
...subPlugins.ueba.store.reducer,
timeline: timelineReducer,
...subPlugins.management.store.reducer,
...tGridReducer,
Expand Down

0 comments on commit 3a16f10

Please sign in to comment.