mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-03 20:42:07 +00:00
Update status on page load
This commit is contained in:
parent
46012db1ec
commit
080f850270
@ -13,6 +13,7 @@ import Silences.Update
|
||||
import Translators exposing (alertTranslator, silenceTranslator)
|
||||
import Status.Types exposing (StatusModel)
|
||||
import Status.Update exposing (update)
|
||||
import Status.Api exposing (getStatus)
|
||||
|
||||
|
||||
main : Program Never Model Msg
|
||||
@ -88,7 +89,7 @@ update msg model =
|
||||
)
|
||||
|
||||
NavigateToStatus ->
|
||||
( { model | route = StatusRoute }, Cmd.none )
|
||||
( { model | route = StatusRoute }, getStatus )
|
||||
|
||||
Silences silencesMsg ->
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user