fix(ToolBox): don't add entries of disabled plugins
This commit is contained in:
parent
88fc15752d
commit
3eada99ad6
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue