diff --git a/packages/core/client/src/pm/PluginManagerLink.tsx b/packages/core/client/src/pm/PluginManagerLink.tsx index 216f017cb1..277fe78749 100644 --- a/packages/core/client/src/pm/PluginManagerLink.tsx +++ b/packages/core/client/src/pm/PluginManagerLink.tsx @@ -53,51 +53,53 @@ export const SettingsCenterDropdown = () => { `} style={{ boxShadow: 'none' }} > - {settings.map((setting) => ( - - { - e.preventDefault(); - setOpen(false); - navigate(setting.path); + {settings + .filter((v) => v.isTopLevel !== false) + .map((setting) => ( + -
- {setting.icon || } -
-
{ + e.preventDefault(); + setOpen(false); + navigate(setting.path); }} + title={compile(setting.title)} + style={{ display: 'block', color: 'inherit', minWidth: '4.5rem', padding: token.marginSM }} + href={setting.path} > - {compile(setting.title)} -
-
-
- ))} +
+ {setting.icon || } +
+
+ {compile(setting.title)} +
+ + + ))} }