From 94bfa9ee17565a6f30ff0939e30705e7cdb97275 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 2 Sep 2022 11:53:45 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index a7fced9551..9dd9e353db 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -7093,7 +7093,21 @@ module.exports = (_ => { key: this.props.addon && this.props.addon.name && `${this.props.addon.name}-settingsPanel`, id: this.props.addon && this.props.addon.name && `${this.props.addon.name}-settings`, className: BDFDB.disCN.settingspanel, - children: panelItems + children: [ + this.props.addon.changeLog && BDFDB.ReactUtils.createElement(Internal.LibraryComponents.TooltipContainer, { + text: BDFDB.LanguageUtils.LanguageStrings.CHANGE_LOG, + children: BDFDB.ReactUtils.createElement(Internal.LibraryComponents.Clickable, { + className: BDFDB.disCN._repochangelogbutton, + children: BDFDB.ReactUtils.createElement(Internal.LibraryComponents.SvgIcon, { + name: Internal.LibraryComponents.SvgIcon.Names.CHANGELOG, + onClick: _ => BDFDB.PluginUtils.openChangeLog(this.props.addon), + width: 24, + height: 24 + }) + }) + }), + panelItems + ] }); } };