Skip to content

Commit

Permalink
Update src/plugins/management/public/components/management_app/manage…
Browse files Browse the repository at this point in the history
…ment_app.tsx

Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
raintygao and SuZhou-Joe committed Apr 11, 2024
1 parent 69bed52 commit 6ba49b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ba49b9

Please sign in to comment.