Management API - simpler interface, remove app context usage (#71144)

Management API - simpler interface, remove app context usage, consolidate rendeing
This commit is contained in:
Matthew Kime 2020-07-14 11:30:01 -05:00 committed by GitHub
parent 01f021daa1
commit b26e3198b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 387 additions and 310 deletions

View file

@ -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',