From a77051874df5b365068af17ecd88f3b7f9c831ad Mon Sep 17 00:00:00 2001 From: sylenien Date: Thu, 8 Dec 2022 14:45:27 +0100 Subject: [PATCH] change(ui): change teams alert msg --- .../components/Dashboard/components/Alerts/AlertListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx b/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx index 217f05332..202bb7c21 100644 --- a/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx +++ b/frontend/app/components/Dashboard/components/Alerts/AlertListItem.tsx @@ -57,7 +57,7 @@ const getNotifyChannel = (alert: Record, webhooks: Array) => { } } if (alert.msteams) { - str = 'MS Teams' + str += (str === '' ? '' : ' and ') + 'MS Teams' if (alert.msteamsInput.length > 0) { str += getMsTeamsChannels(); }