From 9e783fd852c1b482ddbe111b5339d8e0f546a1d3 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Nov 17 2017 04:41:06 +0000 Subject: Remove content not shown in edit mode warning Previously, when in widget edit mode, every widget displayed a warning message that the content is not displayed in edit mode. This commit removes that warning. Signed-off-by: Ryan Lerch --- diff --git a/hubs/static/client/app/components/WidgetChrome.js b/hubs/static/client/app/components/WidgetChrome.js index 485303b..78a65db 100644 --- a/hubs/static/client/app/components/WidgetChrome.js +++ b/hubs/static/client/app/components/WidgetChrome.js @@ -62,13 +62,11 @@ class WidgetChrome extends React.PureComponent { return (
{header} + { !this.props.editMode &&
- { this.props.editMode && -
Content hidden in edit mode
- || - this.props.children - } + { this.props.children }
+ } { this.props.widget.footer ?
{this.props.widget.footer}