Fixed casing issue when filtering highscore.
This commit is contained in:
		| @@ -86,6 +86,7 @@ export default { | |||||||
|   watch: { |   watch: { | ||||||
|     highscoreFilter(val) { |     highscoreFilter(val) { | ||||||
|       if (val.length) { |       if (val.length) { | ||||||
|  |         val = val.toLowerCase(); | ||||||
|         this.highscore = this.highscoreResponse.filter(person => person.name.toLowerCase().includes(val)) |         this.highscore = this.highscoreResponse.filter(person => person.name.toLowerCase().includes(val)) | ||||||
|       } else { |       } else { | ||||||
|         this.highscore = this.highscoreResponse |         this.highscore = this.highscoreResponse | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user