diff --git a/packages/core/client/src/pm/PluginManagerLink.tsx b/packages/core/client/src/pm/PluginManagerLink.tsx index 273399534..216f017cb 100644 --- a/packages/core/client/src/pm/PluginManagerLink.tsx +++ b/packages/core/client/src/pm/PluginManagerLink.tsx @@ -36,74 +36,79 @@ export const SettingsCenterDropdown = () => { const settings = app.pluginSettingsManager.getList(); const [open, setOpen] = useState(false); return ( - - { - setOpen(open); - }} - arrow={false} - content={ -
- - {settings.map((setting) => ( - - { - e.preventDefault(); - setOpen(false); - navigate(setting.path); + settings.length > 0 && ( + + { + setOpen(open); + }} + arrow={false} + content={ + - } - > -
+ } + > +