Skip to content

Commit

Permalink
Correctly update branch target
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Nov 19, 2024
1 parent cfab364 commit eb86ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UnisonShare/ProjectContributionFormModal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ update appContext projectRef account msg model =
{ form | selectBranchSheet = OpenForTarget { t | sheet = sheet_ } }

SearchBranchSheet.SelectBranchRequest branch ->
{ form | sourceBranchRef = Just branch.ref, selectBranchSheet = Closed }
{ form | targetBranchRef = branch.ref, selectBranchSheet = Closed }
in
( { model | form = Success newForm }
, Cmd.map SearchBranchSheetMsg cmd
Expand Down

0 comments on commit eb86ade

Please sign in to comment.