fix: simplify git sync button label when on base branch

This commit is contained in:
Mohamed Boudra
2026-02-18 19:57:05 +07:00
parent f070e86746
commit e1bd459bfd
@@ -1112,7 +1112,7 @@ export function GitDiffPane({ serverId, agentId, cwd }: GitDiffPaneProps) {
if (!isOnBaseBranch || hasRemote) {
allActions.set("merge-from-base", {
id: "merge-from-base",
label: isOnBaseBranch ? `Sync ${baseRefLabel} from origin` : `Update from ${baseRefLabel}`,
label: isOnBaseBranch ? "Sync" : `Update from ${baseRefLabel}`,
pendingLabel: "Updating...",
successLabel: "Updated",
disabled: mergeFromBaseDisabled,