diff --git a/packages/admin-ui/src/pages/Dashboard/Alerts/Alerts.jsx b/packages/admin-ui/src/pages/Dashboard/Alerts/Alerts.jsx index 79234644..d252a8c4 100644 --- a/packages/admin-ui/src/pages/Dashboard/Alerts/Alerts.jsx +++ b/packages/admin-ui/src/pages/Dashboard/Alerts/Alerts.jsx @@ -1,6 +1,5 @@ import { useQuery, gql } from '@apollo/client' import Button from '@mui/material/Button' -import Grid from '@mui/material/Grid' import classnames from 'classnames' import * as R from 'ramda' import React from 'react' @@ -56,11 +55,9 @@ const Alerts = ({ onReset, onExpand, size }) => { )} - - +
+
{!alerts.length && ( No new alerts. Your system is running smoothly. @@ -71,10 +68,10 @@ const Alerts = ({ onReset, onExpand, size }) => { alerts={alerts} machines={machines} /> - - +
+
{!showAllItems && alertsLength > NUM_TO_RENDER && ( - +
- +
)} )