mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
SCM - 💄 ActionButton API cleanup (#229943)
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user