Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

style(scm): collapse redundant branch-picker filter ternary

enesd08ae752931a
diff --git a/src/renderer/components/SourceControlPanel.tsx b/src/renderer/components/SourceControlPanel.tsx
index f91a604f9..c308b3b73 100644
--- a/src/renderer/components/SourceControlPanel.tsx
+++ b/src/renderer/components/SourceControlPanel.tsx
@@ -585,7 +585,7 @@ export function SourceControlPanel({
onClose={() => setBranchPick(null)}
items={
status.branches
- .filter((b) => (branchPick.action === 'delete' ? b !== status.branch : b !== status.branch))
+ .filter((b) => b !== status.branch)
.map((b) => ({
label: b,
onClick: () => {