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,10 +1924,12 @@ impl Database {
};
if let Some(db_worktree) = db_worktree {
if db_worktree.visible {
project.worktree_root_names.push(db_worktree.root_name);
}
}
}
}
Ok(proto::Room {
id: db_room.id.to_proto(),