Disallow adding folders to projects and opening the terminal in remote projects (#11261)
Release Notes: - Fixed broken UI in remote projects --------- Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
e5b88ac8c2
commit
fa0253bc5a
4 changed files with 43 additions and 23 deletions
|
@ -215,7 +215,9 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
|||
workspace_handle.update(&mut cx, |workspace, cx| {
|
||||
workspace.add_panel(assistant_panel, cx);
|
||||
workspace.add_panel(project_panel, cx);
|
||||
workspace.add_panel(terminal_panel, cx);
|
||||
if !workspace.project().read(cx).is_remote() {
|
||||
workspace.add_panel(terminal_panel, cx);
|
||||
}
|
||||
workspace.add_panel(channels_panel, cx);
|
||||
workspace.add_panel(chat_panel, cx);
|
||||
workspace.add_panel(notification_panel, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue