Make the silence preview show also muted alerts

Even if an alert is already silenced and/or muted, I still want to
know that my newly created silence will affect it.

Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
beorn7 2019-02-28 17:51:11 +01:00
parent c11117fe9f
commit f2345d7c8e
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -237,7 +237,7 @@ update msg model basePath apiUrl =
( { model | alerts = Loading } ( { model | alerts = Loading }
, Alerts.Api.fetchAlerts , Alerts.Api.fetchAlerts
apiUrl apiUrl
{ nullFilter | text = Just (Utils.List.mjoin silence.matchers) } { nullFilter | text = Just (Utils.List.mjoin silence.matchers), showSilenced = Just True, showInhibited = Just True }
|> Cmd.map (AlertGroupsPreview >> MsgForSilenceForm) |> Cmd.map (AlertGroupsPreview >> MsgForSilenceForm)
) )