diff --git a/src/components/git-sync/GitSyncButton.tsx b/src/components/git-sync/GitSyncButton.tsx index e0ff7211..b6eac8c1 100644 --- a/src/components/git-sync/GitSyncButton.tsx +++ b/src/components/git-sync/GitSyncButton.tsx @@ -21,7 +21,8 @@ export function GitSyncButton({ projectId, className }: GitSyncButtonProps) { const hasRemote = !!originRemote; // Determine if we need to show the indicator dot - const showIndicator = !isGitStatusLoading && !hasRemote; + // Show indicator if no origin remote is configured, UNLESS there are less than 2 commits + const showIndicator = !isGitStatusLoading && !hasRemote && (gitStatus?.totalCommits ?? 0) >= 2; return (