aboutsummaryrefslogtreecommitdiff
path: root/src/app/api
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-29 18:57:13 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-29 18:57:13 +0300
commit97f78226bf1f34dcdef164291a9c50fddf448c6e (patch)
tree20f8793644f314521c6e064bef8ba4b25576524b /src/app/api
parent1a4e94e57e181379e2ed42d63a49fbc56ed1dba4 (diff)
fix: route tui modal mutations through api authority
Diffstat (limited to 'src/app/api')
-rw-r--r--src/app/api/worktrees.rs1
1 files changed, 1 insertions, 0 deletions
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;