mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
Omit hidden worktrees when showing projects in collaboration UI
This commit is contained in:
parent
4918ad5789
commit
1b45911857
1 changed files with 3 additions and 1 deletions
|
@ -1924,7 +1924,9 @@ impl Database {
|
|||
};
|
||||
|
||||
if let Some(db_worktree) = db_worktree {
|
||||
project.worktree_root_names.push(db_worktree.root_name);
|
||||
if db_worktree.visible {
|
||||
project.worktree_root_names.push(db_worktree.root_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue