From eb86ade9becf79492202ce35f0af1191bdca8bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8jberg?= Date: Tue, 19 Nov 2024 13:25:14 -0500 Subject: [PATCH] Correctly update branch target --- src/UnisonShare/ProjectContributionFormModal.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnisonShare/ProjectContributionFormModal.elm b/src/UnisonShare/ProjectContributionFormModal.elm index b44730c1..0590e84e 100644 --- a/src/UnisonShare/ProjectContributionFormModal.elm +++ b/src/UnisonShare/ProjectContributionFormModal.elm @@ -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