From 2f79017d1802398237f8e62f1226c502bedce3e2 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Tue, 5 May 2026 12:23:26 -0700 Subject: [PATCH] fix(source-control): hide commit input when there are no uncommitted changes (#1448) Co-authored-by: Orca --- src/renderer/src/components/right-sidebar/SourceControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/right-sidebar/SourceControl.tsx b/src/renderer/src/components/right-sidebar/SourceControl.tsx index 788c4bdc5..a3ffba614 100644 --- a/src/renderer/src/components/right-sidebar/SourceControl.tsx +++ b/src/renderer/src/components/right-sidebar/SourceControl.tsx @@ -1137,7 +1137,7 @@ function SourceControlInner(): React.JSX.Element { /> )} - {(scope === 'all' || scope === 'uncommitted') && ( + {(scope === 'all' || scope === 'uncommitted') && hasUncommittedEntries && ( 0}