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:
parent
c11117fe9f
commit
f2345d7c8e
File diff suppressed because one or more lines are too long
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue