Reoganize remote client code to make room for non-ssh remote projects
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
parent
84c243576f
commit
e0223add54
35 changed files with 1596 additions and 1579 deletions
|
@ -484,7 +484,9 @@ impl TerminalPanel {
|
|||
let Ok((ssh_client, false)) = self.workspace.update(cx, |workspace, cx| {
|
||||
let project = workspace.project().read(cx);
|
||||
(
|
||||
project.ssh_client().and_then(|it| it.read(cx).ssh_info()),
|
||||
project
|
||||
.remote_client()
|
||||
.and_then(|it| it.read(cx).ssh_info()),
|
||||
project.is_via_collab(),
|
||||
)
|
||||
}) else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue