fix: ordered contributors by contribution count
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
		
							parent
							
								
									2a7abceba1
								
							
						
					
					
						commit
						3401fa4cf1
					
				| @ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. | |||||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||||||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||||||
| 
 | 
 | ||||||
|  | ## Next | ||||||
|  | - [fix] [GithubContributors] ordered contributors by contribution count | ||||||
|  | 
 | ||||||
| ## 1.2.1 | ## 1.2.1 | ||||||
| - [fix] [UuidGenerator] added quantity validation rules | - [fix] [UuidGenerator] added quantity validation rules | ||||||
| - [refactor] better isInt checker | - [refactor] better isInt checker | ||||||
|  | |||||||
| @ -36,7 +36,7 @@ | |||||||
|             axios |             axios | ||||||
|                 .get(url) |                 .get(url) | ||||||
|                 .then(({data}) => { |                 .then(({data}) => { | ||||||
|                     this.contributors = data.sort((a, b) => a.contributions - b.contributions) |                     this.contributors = data.sort((a, b) => b.contributions - a.contributions) | ||||||
|                     this.loading = false |                     this.loading = false | ||||||
|                 }) |                 }) | ||||||
|                 .catch(() => this.hasError = true) |                 .catch(() => this.hasError = true) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user