Remove project join requests

This commit is contained in:
Antonio Scandurra
2022-09-30 11:35:50 +02:00
parent b35e8f0164
commit be8990ea78
11 changed files with 274 additions and 1146 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ fn main() {
})
.detach();
let project_store = cx.add_model(|_| ProjectStore::new(db.clone()));
let project_store = cx.add_model(|_| ProjectStore::new());
let app_state = Arc::new(AppState {
languages,
themes,
+1 -6
View File
@@ -286,12 +286,7 @@ pub fn initialize_workspace(
let project_panel = ProjectPanel::new(workspace.project().clone(), cx);
let contact_panel = cx.add_view(|cx| {
ContactsPanel::new(
app_state.user_store.clone(),
app_state.project_store.clone(),
workspace.weak_handle(),
cx,
)
ContactsPanel::new(app_state.user_store.clone(), workspace.weak_handle(), cx)
});
workspace.left_sidebar().update(cx, |sidebar, cx| {