mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-02 04:27:39 +00:00
fix(git-panel): show fetch button when remote is diverged
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user