diff --git a/frontend/app/components/Dashboard/Widgets/SlowestImages/SlowestImages.js b/frontend/app/components/Dashboard/Widgets/SlowestImages/SlowestImages.js index 670cbf524..fe48ceb81 100644 --- a/frontend/app/components/Dashboard/Widgets/SlowestImages/SlowestImages.js +++ b/frontend/app/components/Dashboard/Widgets/SlowestImages/SlowestImages.js @@ -35,7 +35,7 @@ const cols = [ @widgetHOC('slowestImages', { fitContent: true }) export default class SlowestImages extends React.PureComponent { render() { - const { data: images, loading, isTemplate } = this.props; + const { data: images, loading } = this.props; return ( diff --git a/frontend/app/components/Dashboard/components/DashboardView/DashboardView.tsx b/frontend/app/components/Dashboard/components/DashboardView/DashboardView.tsx index 17571d57c..c03eac211 100644 --- a/frontend/app/components/Dashboard/components/DashboardView/DashboardView.tsx +++ b/frontend/app/components/Dashboard/components/DashboardView/DashboardView.tsx @@ -91,11 +91,10 @@ function DashboardView(props: Props) { focusTitle={focusTitle} />
-
+
Add Metric } @@ -125,6 +124,9 @@ function DashboardView(props: Props) {
+
+

{dashboard?.description}

+
void; } function TemplateOverlay(props: IProps) { return ( -
+
); } diff --git a/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx b/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx index 26c4019d3..2afd8320a 100644 --- a/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx +++ b/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx @@ -73,8 +73,6 @@ function WidgetWrapper(props: Props) { const addOverlay = isTemplate || !isPredefined - console.log(widget, isTemplate, addOverlay) - return useObserver(() => (
Click to select} > - {addOverlay && } + {addOverlay && }