Fix BetterFolders For Stable

This commit is contained in:
thororen1234 2025-01-09 01:50:13 -05:00
parent c0c23d9cd1
commit c4d64a6043

View file

@ -123,7 +123,7 @@ export default definePlugin({
},
// If we are rendering the Better Folders sidebar, we filter out everything but the servers and folders from the GuildsBar Guild List children
{
match: /lastTargetNode:\i\[\i\.length-1\].+?{}\)\](?=}\))/,
match: /lastTargetNode:\i\[\i\.length-1\].+?}\):null.{0,50}\](?=}\))/,
replace: "$&.filter($self.makeGuildsBarGuildListFilter(!!arguments[0]?.isBetterFolders))"
},
// If we are rendering the Better Folders sidebar, we filter out everything but the scroller for the guild list from the GuildsBar Tree children