SCM - 💄 ActionButton API cleanup (#229943)

This commit is contained in:
Ladislau Szomoru
2024-09-27 12:08:48 +02:00
committed by GitHub
parent 1460d2f503
commit 6c94f0a703
6 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -211,12 +211,12 @@ export class ActionButton {
command: {
command: 'git.sync',
title: l10n.t('{0} Sync Changes{1}{2}', icon, behind, ahead),
shortTitle: `${icon}${behind}${ahead}`,
tooltip: this.state.isSyncInProgress ?
l10n.t('Synchronizing Changes...')
: this.repository.syncTooltip,
arguments: [this.repository.sourceControl],
},
description: `${icon}${behind}${ahead}`,
enabled: !this.state.isCheckoutInProgress && !this.state.isSyncInProgress
};
}