diff --git a/public/pages/Dashboard/components/AcknowledgeAlertsModal/AcknowledgeAlertsModal.js b/public/pages/Dashboard/components/AcknowledgeAlertsModal/AcknowledgeAlertsModal.js
index e9dae71f0..a839d9c13 100644
--- a/public/pages/Dashboard/components/AcknowledgeAlertsModal/AcknowledgeAlertsModal.js
+++ b/public/pages/Dashboard/components/AcknowledgeAlertsModal/AcknowledgeAlertsModal.js
@@ -227,7 +227,7 @@ export default class AcknowledgeAlertsModal extends Component {
onCreateTrigger = () => {
const { history, monitorId, onClose } = this.props;
onClose();
- history.push(`/monitors/${monitorId}?action=${MONITOR_ACTIONS.EDIT_MONITOR}`);
+ history.push(`/monitors/${monitorId}?action=${MONITOR_ACTIONS.UPDATE_MONITOR}`);
};
render() {
diff --git a/public/pages/Dashboard/components/DashboardControls/DashboardControls.js b/public/pages/Dashboard/components/DashboardControls/DashboardControls.js
index fc9118b08..c1d38190a 100644
--- a/public/pages/Dashboard/components/DashboardControls/DashboardControls.js
+++ b/public/pages/Dashboard/components/DashboardControls/DashboardControls.js
@@ -45,7 +45,6 @@ const DashboardControls = ({
isAlertsFlyout = false,
monitorType,
alertActions = [],
- panelStyles = {},
}) => {
let supportedStateOptions = stateOptions;
switch (monitorType) {
@@ -57,7 +56,7 @@ const DashboardControls = ({
break;
}
return (
-
+
(
{action}
))}
+
+
+
);
};
diff --git a/public/pages/Dashboard/components/DashboardControls/__snapshots__/DashboardControls.test.js.snap b/public/pages/Dashboard/components/DashboardControls/__snapshots__/DashboardControls.test.js.snap
index f15dbc8d7..4809833ca 100644
--- a/public/pages/Dashboard/components/DashboardControls/__snapshots__/DashboardControls.test.js.snap
+++ b/public/pages/Dashboard/components/DashboardControls/__snapshots__/DashboardControls.test.js.snap
@@ -3,7 +3,7 @@
exports[`DashboardControls renders 1`] = `
+
+
+
`;
diff --git a/public/pages/Dashboard/containers/Dashboard.js b/public/pages/Dashboard/containers/Dashboard.js
index 2005bee81..0838fe007 100644
--- a/public/pages/Dashboard/containers/Dashboard.js
+++ b/public/pages/Dashboard/containers/Dashboard.js
@@ -9,12 +9,10 @@ import queryString from 'query-string';
import {
EuiBasicTable,
EuiSmallButton,
+ EuiHorizontalRule,
EuiIcon,
EuiToolTip,
EuiSmallButtonIcon,
- EuiFlexItem,
- EuiPagination,
- EuiFlexGroup,
} from '@elastic/eui';
import ContentPanel from '../../../components/ContentPanel';
import DashboardEmptyPrompt from '../components/DashboardEmptyPrompt';
@@ -532,7 +530,6 @@ export default class Dashboard extends Component {
};
const useUpdatedUx = !perAlertView && getUseUpdatedUx();
- const shouldShowPagination = !perAlertView && totalAlerts > 0;
return (
<>
@@ -549,7 +546,6 @@ export default class Dashboard extends Component {
bodyStyles={{ padding: 'initial' }}
actions={useUpdatedUx ? undefined : actions()}
panelOptions={{ hideTitleBorder: useUpdatedUx }}
- panelStyles={{ padding: useUpdatedUx && totalAlerts < 1 ? '16px 16px 0px' : '16px' }}
>
- )}
-
{this.state.showAlertsModal && this.renderModal()}
>
diff --git a/public/pages/Dashboard/containers/FindingsDashboard.js b/public/pages/Dashboard/containers/FindingsDashboard.js
index 0bd386aef..61414901b 100644
--- a/public/pages/Dashboard/containers/FindingsDashboard.js
+++ b/public/pages/Dashboard/containers/FindingsDashboard.js
@@ -206,7 +206,7 @@ export default class FindingsDashboard extends Component {
bodyStyles={{ padding: 'initial' }}
>
{!isPreview && (
-