diff --git a/public/app/features/dashboard/containers/DashboardPage.tsx b/public/app/features/dashboard/containers/DashboardPage.tsx index 4da79352e64..92a450a3324 100644 --- a/public/app/features/dashboard/containers/DashboardPage.tsx +++ b/public/app/features/dashboard/containers/DashboardPage.tsx @@ -3,7 +3,7 @@ import $ from 'jquery'; import React, { MouseEvent, PureComponent } from 'react'; import { hot } from 'react-hot-loader'; import { connect } from 'react-redux'; -import classNames from 'classnames'; + // Services & Utils import { createErrorNotification } from 'app/core/copy/appNotification'; import { getMessageFromError } from 'app/core/utils/errors'; @@ -282,19 +282,15 @@ export class DashboardPage extends PureComponent { return null; } - const gridWrapperClasses = classNames({ - 'dashboard-container': true, - 'dashboard-container--has-submenu': dashboard.meta.submenuEnabled, - }); - // Only trigger render when the scroll has moved by 25 const approximateScrollTop = Math.round(scrollTop / 25) * 25; const inspectPanel = this.getInspectPanel(); return ( -
+
-
+ +
{ updateAfterMountMs={500} className="custom-scrollbar--page" > - {initError && this.renderInitFailedState()} - -
+
+ {initError && this.renderInitFailedState()} {!editPanel && } + +
+