Skip to content

Commit eb86ade

Browse files
committed
Correctly update branch target
1 parent cfab364 commit eb86ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UnisonShare/ProjectContributionFormModal.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ update appContext projectRef account msg model =
258258
{ form | selectBranchSheet = OpenForTarget { t | sheet = sheet_ } }
259259

260260
SearchBranchSheet.SelectBranchRequest branch ->
261-
{ form | sourceBranchRef = Just branch.ref, selectBranchSheet = Closed }
261+
{ form | targetBranchRef = branch.ref, selectBranchSheet = Closed }
262262
in
263263
( { model | form = Success newForm }
264264
, Cmd.map SearchBranchSheetMsg cmd

0 commit comments

Comments
 (0)