From 5c08bbfa2dd418df8d316b8eec10e0bfd44e4a25 Mon Sep 17 00:00:00 2001 From: tygao Date: Fri, 19 Apr 2024 10:53:22 +0800 Subject: [PATCH] omit settings changes Signed-off-by: tygao --- src/plugins/advanced_settings/public/plugin.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/plugins/advanced_settings/public/plugin.ts b/src/plugins/advanced_settings/public/plugin.ts index 0db39ed23772..3e6c62d92ddb 100644 --- a/src/plugins/advanced_settings/public/plugin.ts +++ b/src/plugins/advanced_settings/public/plugin.ts @@ -29,10 +29,10 @@ */ import { i18n } from '@osd/i18n'; +import { CoreSetup, Plugin } from '../../../core/public'; import { FeatureCatalogueCategory } from '../../home/public'; import { ComponentRegistry } from './component_registry'; import { AdvancedSettingsSetup, AdvancedSettingsStart, AdvancedSettingsPluginSetup } from './types'; -import { CoreSetup, Plugin, CoreStart } from '../../../core/public'; const component = new ComponentRegistry(); @@ -77,15 +77,7 @@ export class AdvancedSettingsPlugin }; } - public start(core: CoreStart) { - core.chrome.navControls.registerRightNavigation({ - order: 1, - appId: 'management/opensearch-dashboards/settings', - http: core.http, - application: core.application, - iconType: 'gear', - title, - }); + public start() { return { component: component.start, };