mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-04 06:34:26 +00:00
Fix inclusion of spurious views from other projects in FollowResponse
This commit is contained in:
parent
0e537cced4
commit
96d60eff23
1 changed files with 1 additions and 2 deletions
|
@ -2878,8 +2878,7 @@ impl Workspace {
|
|||
let cx = &cx;
|
||||
move |item| {
|
||||
let item = item.to_followable_item_handle(cx)?;
|
||||
if project_id.is_some()
|
||||
&& project_id != follower_project_id
|
||||
if (project_id.is_none() || project_id != follower_project_id)
|
||||
&& item.is_project_item(cx)
|
||||
{
|
||||
return None;
|
||||
|
|
Loading…
Reference in a new issue