fix(ToolBox): don't add entries of disabled plugins

This commit is contained in:
Vendicated 2024-01-05 22:15:54 +01:00
parent 88fc15752d
commit 3eada99ad6
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -33,7 +33,7 @@ function VencordPopout(onClose: () => void) {
const pluginEntries = [] as ReactNode[]; const pluginEntries = [] as ReactNode[];
for (const plugin of Object.values(Vencord.Plugins.plugins)) { for (const plugin of Object.values(Vencord.Plugins.plugins)) {
if (plugin.toolboxActions) { if (plugin.toolboxActions && Vencord.Plugins.isPluginEnabled(plugin.name)) {
pluginEntries.push( pluginEntries.push(
<Menu.MenuGroup <Menu.MenuGroup
label={plugin.name} label={plugin.name}