Allow unfollowing of leaders by clicking on their avatar
This commit is contained in:
parent
a154e4500b
commit
9575796f9e
2 changed files with 22 additions and 15 deletions
|
@ -4281,7 +4281,7 @@ mod tests {
|
|||
workspace_b
|
||||
.update(cx_b, |workspace, cx| {
|
||||
let leader_id = *project_b.read(cx).collaborators().keys().next().unwrap();
|
||||
workspace.follow(&leader_id.into(), cx).unwrap()
|
||||
workspace.toggle_follow(&leader_id.into(), cx).unwrap()
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue