Skip to content

Commit

Permalink
Merge branch 'main' into feat_dashboard_home
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk authored Sep 19, 2024
2 parents e334fe3 + 9311d31 commit 9e1a20f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/elm/Pages/Dash/Secrets/Engine_/Org/Org_/Name_.elm
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ update shared route msg model =
UpdateSecretResponse response ->
case response of
Ok ( _, secret ) ->
( model
( { model
| secret = RemoteData.succeed secret
, form = Components.SecretForm.toForm secret
}
, Effect.addAlertSuccess
{ content = "Updated org secret '" ++ secret.name ++ "'."
, addToastIfUnique = True
Expand Down
5 changes: 4 additions & 1 deletion src/elm/Pages/Dash/Secrets/Engine_/Repo/Org_/Repo_/Name_.elm
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ update shared route msg model =
UpdateSecretResponse response ->
case response of
Ok ( _, secret ) ->
( model
( { model
| secret = RemoteData.succeed secret
, form = Components.SecretForm.toForm secret
}
, Effect.addAlertSuccess
{ content = "Updated repo secret '" ++ route.params.name ++ "'."
, addToastIfUnique = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ update shared route msg model =
UpdateSecretResponse response ->
case response of
Ok ( _, secret ) ->
( model
( { model
| secret = RemoteData.succeed secret
, form = Components.SecretForm.toForm secret
}
, Effect.addAlertSuccess
{ content = "Updated shared secret '" ++ route.params.name ++ "'."
, addToastIfUnique = True
Expand Down

0 comments on commit 9e1a20f

Please sign in to comment.