1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

Fix filtering logic in worktrees view

This commit is contained in:
Jesse Duffield 2023-07-16 20:06:52 +10:00
parent 18ea68c23a
commit 142f06357f

View File

@ -23,7 +23,7 @@ func NewWorktreesContext(c *ContextCommon) *WorktreesContext {
getDisplayStrings := func(startIdx int, length int) [][]string {
return presentation.GetWorktreeDisplayStrings(
c.Model().Worktrees,
viewModel.GetFilteredList(),
c.Git().Worktree.IsCurrentWorktree,
c.Git().Worktree.IsWorktreePathMissing,
)