Update DisplayServersAsChannels.plugin.js
This commit is contained in:
parent
a5d1b09e22
commit
5710932346
|
@ -383,7 +383,7 @@ module.exports = (_ => {
|
||||||
children: name
|
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);
|
].flat().filter(n => n);
|
||||||
delete returnvalue.props.icon;
|
delete returnvalue.props.icon;
|
||||||
delete returnvalue.props.name;
|
delete returnvalue.props.name;
|
||||||
|
|
Loading…
Reference in New Issue