Fix filtering logic in worktrees view

This commit is contained in:
Jesse Duffield committed 2023-07-29 17:36:17 +10:00
1 parent 500c0eafb9
commit e2cef55f94
1 file changed
+1 -1
+1 -1
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,
)