From a8f101c52f3bf494b853222484792152b8c00ca3 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 5 Feb 2020 14:38:08 +0100 Subject: [PATCH] Fix --- Plugins/ShowImageDetails/ShowImageDetails.plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/ShowImageDetails/ShowImageDetails.plugin.js b/Plugins/ShowImageDetails/ShowImageDetails.plugin.js index f6bf061012..90bf875059 100644 --- a/Plugins/ShowImageDetails/ShowImageDetails.plugin.js +++ b/Plugins/ShowImageDetails/ShowImageDetails.plugin.js @@ -7,7 +7,7 @@ var ShowImageDetails = (_ => { BDFDB.ReactUtils.forceUpdate(this); } componentDidUpdate() { - if ((!this.props.attachment || !this.props.attachment.size) && !this.props.loaded)) { + if ((!this.props.attachment || !this.props.attachment.size) && !this.props.loaded) { this.props.loaded = true; this.props.attachment = BDFDB.ReactUtils.findValue(BDFDB.ReactUtils.getValue(this, "_reactInternalFiber.return"), "attachment", {up: true}); BDFDB.ReactUtils.forceUpdate(this); @@ -48,7 +48,7 @@ var ShowImageDetails = (_ => { return class ShowImageDetails { getName () {return "ShowImageDetails";} - getVersion () {return "1.2.6";} + getVersion () {return "1.2.7";} getAuthor () {return "DevilBro";} @@ -226,4 +226,4 @@ var ShowImageDetails = (_ => { } } } -})(); \ No newline at end of file +})();