diff --git a/src/elm/Main.elm b/src/elm/Main.elm index 895a73a1c..5384e99c0 100644 --- a/src/elm/Main.elm +++ b/src/elm/Main.elm @@ -317,6 +317,7 @@ update msg model = case response of Ok ( _, addedRepo ) -> ( { model | sourceRepos = updateSourceRepoStatus addedRepo (RemoteData.succeed True) model.sourceRepos updateSourceRepoListByRepoName }, Cmd.none ) + |> Alerting.addToastIfUnique Alerts.config AlertsUpdate (Alerts.Success "Success" (repo.full_name ++ " added.") Nothing) Err error -> ( { model | sourceRepos = updateSourceRepoStatus repo (toFailure error) model.sourceRepos updateSourceRepoListByRepoName }, addError error )