From 99ec3a340b4f870f34f5a2abc96981d9f2dcb5ff Mon Sep 17 00:00:00 2001 From: tygao Date: Thu, 11 Apr 2024 16:32:27 +0800 Subject: [PATCH] Update src/plugins/management/public/components/management_app/management_app.tsx Co-authored-by: SuZhou-Joe --- .../public/components/management_app/management_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/management/public/components/management_app/management_app.tsx b/src/plugins/management/public/components/management_app/management_app.tsx index c78eb77c5d13..ecb5b5c08645 100644 --- a/src/plugins/management/public/components/management_app/management_app.tsx +++ b/src/plugins/management/public/components/management_app/management_app.tsx @@ -94,7 +94,7 @@ export const ManagementApp = ({ dependencies, history }: ManagementAppProps) => } setSections(dependencies.sections.getSectionsEnabled()); - }, [dependencies.sections, capabilities, workspaces]); + }, [dependencies.sections.getSectionsEnabled(), capabilities.workspaces.enabled, workspaces.currentWorkspace$.getValue()]); if (!sections) { return null;