This commit is contained in:
Antonio Scandurra 2022-03-21 18:16:06 +01:00
parent 9575796f9e
commit 13a2dacc60

View File

@ -1248,14 +1248,8 @@ impl Workspace {
state.active_view_id = response.active_view_id;
Ok::<_, anyhow::Error>(())
})?;
Self::add_views_from_leader(
this,
leader_id,
vec![pane.clone()],
response.views,
&mut cx,
)
.await?;
Self::add_views_from_leader(this, leader_id, vec![pane], response.views, &mut cx)
.await?;
}
Ok(())
}))