diff --git a/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx b/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx index 0c87f92a8..521625ef1 100644 --- a/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx +++ b/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx @@ -92,29 +92,29 @@ function AlertListItem(props: Props) { )} -
+
{'When the '} - {alert.detectionMethod} + {alert.detectionMethod} {' of '} - {alert.query.left} + {alert.query.left} {' is '} - + {alert.query.operator} {alert.query.right} {alert.metric.unit} {' over the past '} - {getThreshold(alert.currentPeriod)} + {getThreshold(alert.currentPeriod)} {alert.detectionMethod === 'change' ? ( <> {' compared to the previous '} - {getThreshold(alert.previousPeriod)} + {getThreshold(alert.previousPeriod)} ) : null} {', notify me on '} {getNotifyChannel(alert, webhooks)}.
{alert.description ? ( -
{alert.description}
+
{alert.description}
) : null}
); diff --git a/frontend/app/components/Dashboard/components/Alerts/NewAlert.tsx b/frontend/app/components/Dashboard/components/Alerts/NewAlert.tsx index 697d6426d..c44d1c31b 100644 --- a/frontend/app/components/Dashboard/components/Alerts/NewAlert.tsx +++ b/frontend/app/components/Dashboard/components/Alerts/NewAlert.tsx @@ -267,7 +267,7 @@ const NewAlert = (props: IProps) => { -
+
{instance && ( null} webhooks={webhooks} /> )} diff --git a/frontend/app/components/Dashboard/components/DashboardList/DashboardListItem.tsx b/frontend/app/components/Dashboard/components/DashboardList/DashboardListItem.tsx index 54f359041..0d3b76fd9 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/DashboardListItem.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/DashboardListItem.tsx @@ -41,7 +41,7 @@ function DashboardListItem(props: Props) {
{checkForRecent(dashboard.createdAt, 'LLL dd, yyyy, hh:mm a')}
- {dashboard.description ?
{dashboard.description}
: null} + {dashboard.description ?
{dashboard.description}
: null} ); }