Skip to content

Commit 39cf9ab

Browse files
centdixclaude
andcommitted
fix: filter out main branch from worktree sidebar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 46d54a7 commit 39cf9ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
const ENTER_DELAY_MS = 200;
100100
101101
let openingBranch = $state<string | null>(null);
102-
let visibleWorktrees = $derived(worktrees);
102+
let visibleWorktrees = $derived(worktrees.filter((w) => w.branch !== "main"));
103103
let selectedWorktree = $derived(
104104
visibleWorktrees.find((w) => w.branch === selectedBranch),
105105
);

0 commit comments

Comments
 (0)