From 97f78226bf1f34dcdef164291a9c50fddf448c6e Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 29 Jun 2026 18:57:13 +0300 Subject: fix: route tui modal mutations through api authority --- src/app/api/worktrees.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app/api') diff --git a/src/app/api/worktrees.rs b/src/app/api/worktrees.rs index 111d50cf..69f43c1b 100644 --- a/src/app/api/worktrees.rs +++ b/src/app/api/worktrees.rs @@ -611,6 +611,7 @@ impl App { }); } + #[cfg(test)] pub(crate) fn emit_worktree_opened_for_workspace(&mut self, ws_idx: usize, already_open: bool) { let Some(worktree) = self.worktree_info_for_workspace(ws_idx) else { return; -- cgit v1.2.3