Omit hidden worktrees when showing projects in collaboration UI

This commit is contained in:
Max Brunsfeld 2023-01-26 14:47:37 -08:00
parent 4918ad5789
commit 1b45911857

View file

@ -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);
}
}
}
}