fix(source-control): hide commit input when there are no uncommitted changes (#1448)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -1137,7 +1137,7 @@ function SourceControlInner(): React.JSX.Element {
|
||||
/>
|
||||
)}
|
||||
|
||||
{(scope === 'all' || scope === 'uncommitted') && (
|
||||
{(scope === 'all' || scope === 'uncommitted') && hasUncommittedEntries && (
|
||||
<CommitArea
|
||||
stagedCount={grouped.staged.length}
|
||||
hasUnresolvedConflicts={unresolvedConflicts.length > 0}
|
||||
|
||||
Reference in New Issue
Block a user