Update HideMutedCategories.plugin.js

This commit is contained in:
Mirco Wittrien 2024-05-16 18:54:09 +02:00
parent a916b9986a
commit 72b46470c4
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
* @name HideMutedCategories
* @author DevilBro
* @authorId 278543574059057154
* @version 1.1.2
* @version 1.1.3
* @description Hides muted Categories, if muted Channels are hidden
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -101,6 +101,7 @@ module.exports = (_ => {
n.renderLevel = renderLevels.CAN_NOT_SHOW;
BDFDB.ArrayUtils.remove(e.instance.props.guildChannels.categories[id].shownChannelIds, n.id, true);
}
if (!channelArray.length) e.instance.props.guildChannels.categories[id].channels = {"placeholder": {}};
}
}
else {