Skip to content

Commit

Permalink
review: put original operation first
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flügge committed Dec 19, 2024
1 parent 7700ad0 commit 4283f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/controllers/helpers/refs_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (self *RefsHelper) CreateCheckoutMenu(ref string, branches []*models.Branch
}
})

menuItems = append(menuItems, &types.MenuItem{
menuItems = utils.Prepend(menuItems, &types.MenuItem{
LabelColumns: []string{ref},
OnPress: func() error {
self.c.Confirm(types.ConfirmOpts{
Expand Down

0 comments on commit 4283f18

Please sign in to comment.