From 2bea0844d31ae916bbc36d18c944354a49a4e34c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 20 Mar 2023 12:23:29 +0100 Subject: [PATCH] Update ImageUtilities.plugin.js --- Plugins/ImageUtilities/ImageUtilities.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ImageUtilities/ImageUtilities.plugin.js b/Plugins/ImageUtilities/ImageUtilities.plugin.js index b2ce7148b5..d5899be107 100644 --- a/Plugins/ImageUtilities/ImageUtilities.plugin.js +++ b/Plugins/ImageUtilities/ImageUtilities.plugin.js @@ -1090,7 +1090,7 @@ module.exports = (_ => { e.instance.props.alt && {label: "Alt", text: e.instance.props.alt}, {label: "Source", text: url.split("?width")[0].split("?height")[0].split("?size")[0]}, {label: "Size", text: `${e.instance.props.width}x${e.instance.props.height}px`}, - cachedImages && cachedImages.amount && cachedImages.amount > 1 && {label: filterForVideos ? BDFDB.LanguageUtils.LanguageStrings.VIDEO : BDFDB.LanguageUtils.LanguageStrings.IMAGE, text: `${cachedImages.index + 1 || 1} of ${cachedImages.amount}`} + cachedImages && cachedImages.amount && cachedImages.amount > 1 && {label: filterForVideos ? "Video" : "Image", text: `${cachedImages.index + 1 || 1} of ${cachedImages.amount}`} ].filter(n => n).map(data => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { className: BDFDB.disCN._imageutilitiesdetails, children: [