Skip to content

Commit

Permalink
fix few imports + store
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed May 11, 2020
1 parent 812a131 commit 39bed1b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ApolloLink } from 'apollo-link';

// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import { CoreStart } from '../../../../../../../src/core/public';
import introspectionQueryResultData from '../../graphql/introspection.json';
import introspectionQueryResultData from '../../../graphql/introspection.json';
import { AppFrontendLibs } from '../lib';
import { getLinks } from './helpers';

Expand Down
17 changes: 15 additions & 2 deletions x-pack/plugins/siem/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,18 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
...overviewStart.routes,
...timelinesStart.routes,
],
store: { ...hostsStart.store, ...networkStart.store, ...timelinesStart.store },
store: {
initialState: {
...hostsStart.store.initialState,
...networkStart.store.initialState,
...timelinesStart.store.initialState,
},
reducer: {
...hostsStart.store.reducer,
...networkStart.store.reducer,
...timelinesStart.store.reducer,
},
},
});
};

Expand All @@ -134,7 +145,9 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
order: 9000,
euiIconType: APP_ICON,
category: DEFAULT_APP_CATEGORIES.security,
mount: mountSecurityApp,
async mount(params: AppMountParameters) {
return mountSecurityApp(params);
},
});

return {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getRuleDetailsUrl } from '../../../../../common/components/link_to/redi
import { TruncatableText } from '../../../../../common/components/truncatable_text';

import { isUrlInvalid } from '../../../../../alerts/components/rules/step_about_rule/helpers';
import endPointSvg from '../../../../utils/logo_endpoint/64_color.svg';
import endPointSvg from '../../../../../common/utils/logo_endpoint/64_color.svg';

import * as i18n from './translations';

Expand Down

0 comments on commit 39bed1b

Please sign in to comment.