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