diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/DeleteSilence.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/DeleteSilence.js index fed804637..098f59031 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/DeleteSilence.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/DeleteSilence.js @@ -250,7 +250,7 @@ const DeleteSilence = observer( return ( diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/__snapshots__/index.test.js.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/__snapshots__/index.test.js.snap index 1551e98bf..a077f7365 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/__snapshots__/index.test.js.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/__snapshots__/index.test.js.snap @@ -160,7 +160,7 @@ exports[` matches snapshot with expaned details 1`] = `
- + matches snapshot with expaned details 1`] = ` 5 hours ago - + matches snapshot with expaned details 1`] = ` in 5 hours - + matches snapshot with expaned details 1`] = ` Edit - + matches snapshot with expaned details 1`] = ` Delete
-
- - - +
+ + - - - Matchers: - - - alertname=MockAlert - - - instance=~foo[0-9]+ - + + + + Matchers: + +
+
+ + alertname=MockAlert + + + instance=~foo[0-9]+ + +
diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.js index 9b67c9cd7..8df056c96 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Silence/index.js @@ -126,16 +126,16 @@ const SilenceDetails = ({ />
- + Started {silence.startsAt} - + {expiresLabel} {silence.endsAt} @@ -147,18 +147,25 @@ const SilenceDetails = ({ silenceID={silence.id} />
-
- - - Matchers: - - {silence.matchers.map(matcher => ( - - {matcher.name} - {matcher.isRegex ? QueryOperators.Regex : QueryOperators.Equal} - {matcher.value} +
+
+ + + Matchers: - ))} +
+
+ {silence.matchers.map(matcher => ( + + {matcher.name} + {matcher.isRegex ? QueryOperators.Regex : QueryOperators.Equal} + {matcher.value} + + ))} +
);