This commit is contained in:
Mirco Wittrien 2019-10-25 12:13:35 +02:00
parent a3c6cee3b7
commit 17e0fa6f2e
3 changed files with 4 additions and 6 deletions

View File

@ -5704,10 +5704,9 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
}); });
} }
render() { render() {
if (!this.props.children) return null;
if (typeof this.props.children != "function") { if (typeof this.props.children != "function") {
let children = this.props.children; let children = this.props.children;
this.props.children = _ => {return children;}; this.props.children = _ => {return children || BDFDB.ReactUtils.createElement("div", {style: {height: "100%", width: "100%"}});};
} }
return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, { return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, {
className: this.props.className, className: this.props.className,
@ -5999,10 +5998,9 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
this.state = {shouldShowTooltip: true}; this.state = {shouldShowTooltip: true};
} }
render() { render() {
if (!this.props.children) return null;
if (typeof this.props.children != "function") { if (typeof this.props.children != "function") {
let children = this.props.children; let children = this.props.children;
this.props.children = _ => {return children;}; this.props.children = _ => {return children || BDFDB.ReactUtils.createElement("div", {style: {height: "100%", width: "100%"}});};
} }
return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, { return BDFDB.ReactUtils.createElement(LibraryComponents.Clickable, {
className: this.props.className, className: this.props.className,

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
class EditUsers { class EditUsers {
getName () {return "EditUsers";} getName () {return "EditUsers";}
getVersion () {return "3.6.6";} getVersion () {return "3.6.7";}
getAuthor () {return "DevilBro";} getAuthor () {return "DevilBro";}