From 0bab01573a781abda0ddf08046e7e4ce4568d696 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 30 Jun 2026 20:29:57 +0300 Subject: refactor: route headless workspace tab mutations through runtime dispatch --- src/app/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/app/mod.rs') diff --git a/src/app/mod.rs b/src/app/mod.rs index 04de4c84..713e0b02 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -887,7 +887,7 @@ impl App { if self.state.request_new_workspace { self.state.request_new_workspace = false; - self.dispatch_tui_runtime_mutation( + self.dispatch_runtime_mutation( "tui.workspace.create", crate::api::schema::Method::WorkspaceCreate( crate::api::schema::WorkspaceCreateParams { @@ -904,7 +904,7 @@ impl App { if self.state.request_new_tab { self.state.request_new_tab = false; let label = self.state.requested_new_tab_name.take(); - self.dispatch_tui_runtime_mutation( + self.dispatch_runtime_mutation( "tui.tab.create", crate::api::schema::Method::TabCreate(crate::api::schema::TabCreateParams { workspace_id: None, @@ -928,7 +928,7 @@ impl App { } if let Some(cwd) = self.state.request_new_workspace_cwd.take() { - self.dispatch_tui_runtime_mutation( + self.dispatch_runtime_mutation( "tui.workspace.create_cwd", crate::api::schema::Method::WorkspaceCreate( crate::api::schema::WorkspaceCreateParams { -- cgit v1.2.3