Update WriteUpperCase.plugin.js

This commit is contained in:
Mirco Wittrien 2022-02-11 15:56:20 +01:00
parent 73fec74455
commit 217a3cb192
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ module.exports = (_ => {
processChannelTextAreaButtons (e) {
if (this.settings.general.addQuickToggle && !e.instance.props.disabled) {
e.returnvalue.props.children.unshift(BDFDB.ReactUtils.createElement(QuickToogleButtonComponent, {
type: e.instance.props.type,
type: e.instance.props.type.analyticsName || e.instance.props.type,
channelId: e.instance.props.channel.id
}));
}