Skip to content

Commit

Permalink
Release (#336)
Browse files Browse the repository at this point in the history
Fix: Updates MR creation popup when creating an MR with a fork branch (#335)

This is a #PATCH release.
  • Loading branch information
harrisoncramer authored Jul 31, 2024
1 parent 95dcc41 commit 1eb1046
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/gitlab/actions/create_mr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1eb1046

Please sign in to comment.