From c1d9315fdaa6c5308b2baec5e7b5d5a781f29242 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 11 Nov 2020 11:07:19 +0100 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 1066140c73..fa853d41c7 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -4448,17 +4448,17 @@ module.exports = (_ => { let links = [].concat(this.props.links).flat(10).filter(n => n); let buttons = [].concat(this.props.buttons).flat(10).filter(n => n); let meta = [ - " v", + !isBeta && " v", BDFDB.ReactUtils.createElement("span", { className: BDFDB.disCN._repoversion, - children: this.props.data.version + children: isBeta ? `v${this.props.data.version}` : this.props.data.version }), " by ", BDFDB.ReactUtils.createElement("span", { className: BDFDB.disCN._repoauthor, children: this.props.data.author }) - ]; + ].filter(n => n); return !BDFDB.ObjectUtils.is(this.props.data) ? null : BDFDB.ReactUtils.createElement("div", { className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repoentry, this.props.className, BDFDB.disCN._repocard, BDFDB.disCN._reposettingsclosed, BDFDB.disCN._repocheckboxitem), children: [ @@ -4492,7 +4492,7 @@ module.exports = (_ => { className: BDFDB.disCN._repodescriptionwrap, children: BDFDB.ReactUtils.createElement("div", { className: BDFDB.disCN._repodescription, - children: this.props.data.description + children: this.props.data.description && BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.createElement(this.props.data.description)) }) }), (links.length || buttons.length) && BDFDB.ReactUtils.createElement("div", {