Update EditChannels.plugin.js

This commit is contained in:
Mirco Wittrien 2021-02-09 13:59:05 +01:00
parent f2fb28e4a6
commit 8844a30bb3
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ module.exports = (_ => {
}
else if (settings.changeInSearchPopout && e.returnvalue.props.className.indexOf(BDFDB.disCN.searchpopoutoption) > -1) {
change = true;
channelId = (BDFDB.ReactUtils.findValue(e.returnvalue._owner, "result", {up: true}) || {}).channel.id;
channelId = (BDFDB.ReactUtils.findValue(e.returnvalue._owner, "result", {up: true}) || {channel: {}}).channel.id;
nameClass = BDFDB.disCN.searchpopoutresultchannel;
categoyClass = BDFDB.disCN.searchpopoutsearchresultchannelcategory;
iconClass = BDFDB.disCN.searchpopoutsearchresultchannelicon;