mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-27 08:32:15 +00:00
Allow selectable matchers on silence view (#1030)
This commit is contained in:
parent
10b9d34f80
commit
0508348fd0
@ -22,7 +22,13 @@ labelButton maybeMsg labelText =
|
||||
case maybeMsg of
|
||||
Nothing ->
|
||||
span
|
||||
[ class "btn btn-sm bg-faded btn-secondary mr-2 mb-2" ]
|
||||
[ class "btn btn-sm bg-faded btn-secondary mr-2 mb-2"
|
||||
, style
|
||||
[ ( "user-select", "text" )
|
||||
, ( "-moz-user-select", "text" )
|
||||
, ( "-webkit-user-select", "text" )
|
||||
]
|
||||
]
|
||||
[ text labelText ]
|
||||
|
||||
Just msg ->
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user