Make closing the SSH modal equivalent to cancelling the SSH connection task (#19568)

TODO: 
- [x] Fix focus not being on the modal initially

Release Notes:

- N/A

---------

Co-authored-by: Trace <violet.white.batt@gmail.com>
This commit is contained in:
Mikayla Maki
2024-10-22 14:50:55 -07:00
committed by GitHub
co-authored by Trace
parent f951410ef0
commit 33197608ed
5 changed files with 108 additions and 56 deletions
-1
View File
@@ -274,7 +274,6 @@ pub fn initialize_workspace(
workspace.add_panel(channels_panel, cx);
workspace.add_panel(chat_panel, cx);
workspace.add_panel(notification_panel, cx);
cx.focus_self();
})
})
.detach();