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