Update DisplayServersAsChannels.plugin.js

This commit is contained in:
Mirco Wittrien 2024-04-20 07:36:59 +02:00
parent a5d1b09e22
commit 5710932346
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ module.exports = (_ => {
children: name
})
}),
[returnvalue.props.children, options.wrap && children.slice(index + 1)].flat(10).filter(n => !(n && (n.type && n.type.displayName == "FolderIcon" || n.props && n.props.className && n.props.className.indexOf(BDFDB.disCN.guildfoldericonwrapper) > -1)))
[returnvalue.props.children, options.wrap && children.slice(index + 1)].flat(10).filter(n => !(n && (n.type && n.type.displayName == "FolderIcon" || n.props && n.props.className && n.props.className.indexOf(BDFDB.disCN.guildfoldericonwrapper) > -1)))
].flat().filter(n => n);
delete returnvalue.props.icon;
delete returnvalue.props.name;