From d4c9e622beacd8bb741b479cedb09ae39ba69ec5 Mon Sep 17 00:00:00 2001 From: tygao Date: Tue, 23 Apr 2024 16:24:37 +0800 Subject: [PATCH] fix wrong management filter id (#6609) Signed-off-by: tygao --- src/plugins/workspace/public/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/workspace/public/plugin.ts b/src/plugins/workspace/public/plugin.ts index abd5fdadbabc..90924248606b 100644 --- a/src/plugins/workspace/public/plugin.ts +++ b/src/plugins/workspace/public/plugin.ts @@ -113,7 +113,7 @@ export class WorkspacePlugin implements Plugin<{}, {}, WorkspacePluginSetupDeps> this.managementCurrentWorkspaceIdSubscription = currentWorkspaceId$.subscribe( (currentWorkspaceId) => { if (currentWorkspaceId) { - ['settings', 'dataSources'].forEach((appId) => + ['settings', 'dataSourceManagement'].forEach((appId) => management.sections.section.opensearchDashboards.getApp(appId)?.disable() ); }