src/vs/workbench/contrib/extensions/browser/extensionsActions.ts/InstallAndSyncAction/computeAndUpdateEnablement
class InstallAndSyncAction:	protected override async computeAndUpdateEnablement(): Promise<void> {
		await super.computeAndUpdateEnablement();
		if (this.enabled) {
			this.enabled = this.userDataSyncEnablementService.isEnabled() && this.userDataSyncEnablementService.isResourceEnabled(SyncResource.Extensions);
		}
	}