mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Management API - simpler interface, remove app context usage (#71144)
Management API - simpler interface, remove app context usage, consolidate rendeing
This commit is contained in:
parent
01f021daa1
commit
b26e3198b3
45 changed files with 387 additions and 310 deletions
|
@ -7,7 +7,6 @@
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { CoreSetup, Plugin, CoreStart, PluginInitializerContext } from 'kibana/public';
|
||||
|
||||
import { ManagementSectionId } from '../../../../src/plugins/management/public';
|
||||
import { init as initBreadcrumbs } from './application/services/breadcrumb';
|
||||
import { init as initDocumentation } from './application/services/documentation';
|
||||
import { init as initHttp } from './application/services/http';
|
||||
|
@ -33,7 +32,7 @@ export class RemoteClustersUIPlugin
|
|||
} = this.initializerContext.config.get<ClientConfigType>();
|
||||
|
||||
if (isRemoteClustersUiEnabled) {
|
||||
const esSection = management.sections.getSection(ManagementSectionId.Data);
|
||||
const esSection = management.sections.section.data;
|
||||
|
||||
esSection.registerApp({
|
||||
id: 'remote_clusters',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue