Skip to content

Commit

Permalink
correct switch case fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Sep 18, 2023
1 parent 95c9925 commit 1b6d611
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/elm/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3609,9 +3609,12 @@ loadRepoSubPage model org repo toPage =
Pages.PromoteDeployment o r deploymentNumber ->
( model, getDeployment model o r deploymentNumber )

Pages.AddDeployment o r ->
( model, getRepo model o r )

-- page is not a repo subpage
_ ->
( model, getRepo model org repo )
( model, Cmd.none )
in
( { loadModel | page = toPage }, loadCmd )

Expand Down

0 comments on commit 1b6d611

Please sign in to comment.