Update ShowConnections.plugin.js

This commit is contained in:
Mirco Wittrien 2021-05-31 15:00:03 +02:00
parent c2c9877f8c
commit 735c97355f
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ module.exports = (_ => {
if (loadedUsers[e.instance.props.user.id].length) {
let isLightTheme = BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight;
let bodyInner = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.userpopoutbodyinnerwrapper]]});
if (bodyInner) bodyInner.props.children.splice(1, 0, [
if (bodyInner) bodyInner.props.children.splice(bodyInner.props.children.length - 1, 0, [
BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.userpopoutbodytitle,
children: BDFDB.LanguageUtils.LanguageStrings.CONNECTIONS