Skip to content

Commit

Permalink
Migrate ILM to ManagementPageLayout.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed May 27, 2021
1 parent c64651f commit 7a4659c
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 276 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import React from 'react';
import { render, unmountComponentAtNode } from 'react-dom';
import { I18nStart, ScopedHistory, ApplicationStart } from 'kibana/public';
import { UnmountCallback } from 'src/core/public';

import type { ManagementAppMountParams } from '../../../../../src/plugins/management/public';
import { CloudSetup } from '../../../cloud/public';
import { ILicense } from '../../../licensing/public';

Expand All @@ -26,11 +28,12 @@ export const renderApp = (
getUrlForApp: ApplicationStart['getUrlForApp'],
breadcrumbService: BreadcrumbService,
license: ILicense,
managementPageLayout: ManagementAppMountParams['managementPageLayout'],
cloud?: CloudSetup
): UnmountCallback => {
render(
<I18nContext>
<KibanaContextProvider services={{ cloud, breadcrumbService, license }}>
<KibanaContextProvider services={{ cloud, breadcrumbService, license, managementPageLayout }}>
<AppWithRouter
history={history}
navigateToApp={navigateToApp}
Expand Down
Loading

0 comments on commit 7a4659c

Please sign in to comment.