Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2020-11-22 18:41:33 +01:00
parent 1953b5652e
commit 58e6c7939e
1 changed files with 1 additions and 1 deletions

View File

@ -6326,7 +6326,7 @@ module.exports = (_ => {
InternalComponents.LibraryComponents.SettingsPanel = reactInitialized && class BDFDB_SettingsPanel extends LibraryModules.React.Component {
componentDidMount() {
let node = BDFDB.ReactUtils.findDOMNode(this);
if (node) this.node = node;
if (node) this.props.node = node;
}
componentWillUnmount() {
if (BDFDB.ObjectUtils.is(this.props.addon) && typeof this.props.addon.onSettingsClosed == "function") this.props.addon.onSettingsClosed();