From 020fbdd3e7acdf644a23229be78b6e8be0b4dcaa Mon Sep 17 00:00:00 2001 From: Sergei Aksiutin Date: Fri, 7 May 2021 09:37:40 +1000 Subject: [PATCH] Rename show_all_url to showAllUrl --- dist/react-dashboard.js | 6 +++--- src/components/Dashboard.js | 2 +- src/components/ListWidget.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/react-dashboard.js b/dist/react-dashboard.js index 3276473..b1bc98d 100644 --- a/dist/react-dashboard.js +++ b/dist/react-dashboard.js @@ -36273,7 +36273,7 @@ var Dashboard = React.createClass({ return React.createElement("div", { className: "col-md-6 col-sm-6 widget", key: widget.id }, React.createElement(AvailableWidgetsMap[widget.component_type], { title: widget.title, url: widget.url, - show_all_url: widget.show_all_url, + showAllUrl: widget.show_all_url, widgetId: widget.id, icon: widget.icon, editMode: this.props.editMode, @@ -36355,10 +36355,10 @@ var ListWidget = React.createClass({ } var title = this.props.title; - if (this.props.show_all_url != null) { + if (this.props.showAllUrl != null) { title = React.createElement( "a", - { href: this.props.show_all_url }, + { href: this.props.showAllUrl }, title ); } diff --git a/src/components/Dashboard.js b/src/components/Dashboard.js index c7c132e..35b9583 100644 --- a/src/components/Dashboard.js +++ b/src/components/Dashboard.js @@ -32,7 +32,7 @@ var Dashboard = React.createClass({ React.createElement(AvailableWidgetsMap[widget.component_type], { title: widget.title, url: widget.url, - show_all_url: widget.show_all_url, + showAllUrl: widget.show_all_url, widgetId: widget.id, icon: widget.icon, editMode: this.props.editMode, diff --git a/src/components/ListWidget.js b/src/components/ListWidget.js index 93a2d24..18302ac 100644 --- a/src/components/ListWidget.js +++ b/src/components/ListWidget.js @@ -57,8 +57,8 @@ var ListWidget = React.createClass({ } var { title } = this.props; - if (this.props.show_all_url != null) { - title = {title} + if (this.props.showAllUrl != null) { + title = {title} } return (