diff --git a/src/components/git-panel/view/GitPanelHeader.tsx b/src/components/git-panel/view/GitPanelHeader.tsx index 127612b..8a2537c 100644 --- a/src/components/git-panel/view/GitPanelHeader.tsx +++ b/src/components/git-panel/view/GitPanelHeader.tsx @@ -62,7 +62,7 @@ export default function GitPanelHeader({ const aheadCount = remoteStatus?.ahead || 0; const behindCount = remoteStatus?.behind || 0; const remoteName = remoteStatus?.remoteName || 'remote'; - const shouldShowFetchButton = aheadCount > 0 || (behindCount > 0 && aheadCount > 0); + const shouldShowFetchButton = aheadCount > 0 && behindCount > 0; const requestPullConfirmation = () => { onRequestConfirmation({