Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Omit hidden worktrees when showing projects in collaboration UI
Max Brunsfeld1b459118578d
diff --git a/crates/collab/src/db.rs b/crates/collab/src/db.rsindex 0edd79e0e4e..2b0e2ce9cfd 100644--- a/crates/collab/src/db.rs+++ b/crates/collab/src/db.rs@@ -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);+ }}}}