From 1eb1046e520a0cd25afed02788fc82d24ce84beb Mon Sep 17 00:00:00 2001 From: "Harrison (Harry) Cramer" <32515581+harrisoncramer@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:34:30 -0400 Subject: [PATCH] Release (#336) Fix: Updates MR creation popup when creating an MR with a fork branch (#335) This is a #PATCH release. --- lua/gitlab/actions/create_mr.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/gitlab/actions/create_mr.lua b/lua/gitlab/actions/create_mr.lua index 9f49f97..401162e 100644 --- a/lua/gitlab/actions/create_mr.lua +++ b/lua/gitlab/actions/create_mr.lua @@ -220,12 +220,15 @@ M.open_confirmation_popup = function(mr) local popups = { title_popup, description_popup, - forked_project_id_popup, delete_branch_popup, squash_popup, target_popup, } + if state.settings.create_mr.fork.enabled then + table.insert(popups, 3, forked_project_id_popup) + end + M.layout = layout M.layout_buf = layout.bufnr M.layout_visible = true