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,10 +1924,12 @@ impl Database {
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Some(db_worktree) = db_worktree {
|
if let Some(db_worktree) = db_worktree {
|
||||||
|
if db_worktree.visible {
|
||||||
project.worktree_root_names.push(db_worktree.root_name);
|
project.worktree_root_names.push(db_worktree.root_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ok(proto::Room {
|
Ok(proto::Room {
|
||||||
id: db_room.id.to_proto(),
|
id: db_room.id.to_proto(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue