Fix: Updates MR creation popup when creating an MR with a fork branch (#335)

This is a #PATCH release.
This commit is contained in:
Harrison (Harry) Cramer
2024-07-30 21:34:30 -04:00
committed by GitHub
parent 95dcc41885
commit 1eb1046e52

View File

@@ -220,12 +220,15 @@ M.open_confirmation_popup = function(mr)
local popups = { local popups = {
title_popup, title_popup,
description_popup, description_popup,
forked_project_id_popup,
delete_branch_popup, delete_branch_popup,
squash_popup, squash_popup,
target_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 = layout
M.layout_buf = layout.bufnr M.layout_buf = layout.bufnr
M.layout_visible = true M.layout_visible = true