From 5f5a096c79a0200a4a2cddbb499c50095edc3401 Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:43:16 +0100 Subject: [PATCH] Alerting:fix silences removing labels pressing enter 5 (#79624) Fix Silences removing labels when user press enter in duration input --- .../alerting/unified/components/silences/MatchersField.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/alerting/unified/components/silences/MatchersField.tsx b/public/app/features/alerting/unified/components/silences/MatchersField.tsx index 6fb4883a048..306ea08e22c 100644 --- a/public/app/features/alerting/unified/components/silences/MatchersField.tsx +++ b/public/app/features/alerting/unified/components/silences/MatchersField.tsx @@ -81,6 +81,7 @@ const MatchersField = ({ className }: Props) => { tooltip="Remove matcher" name={'trash-alt'} onClick={() => remove(index)} + type="button" > Remove