ssh remoting: open settings locally (#18020)

Release Notes:

- ssh remoting: Open settings files in a non-remote window.
This commit is contained in:
Conrad Irwin 2024-09-18 11:15:54 -06:00 committed by GitHub
parent 826777a257
commit fb7a7a564a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1578,7 +1578,7 @@ impl Workspace {
T: 'static,
F: 'static + FnOnce(&mut Workspace, &mut ViewContext<Workspace>) -> T,
{
if self.project.read(cx).is_local_or_ssh() {
if self.project.read(cx).is_local() {
Task::Ready(Some(Ok(callback(self, cx))))
} else {
let env = self.project.read(cx).cli_environment(cx);