Переглянути джерело

Fix Pokemon not quite being sorted

tags/v0.1.0
Fen Dweller 5 роки тому
джерело
коміт
a536971c02
1 змінених файлів з 4 додано та 1 видалено
  1. +4
    -1
      presets/pokemon.js

+ 4
- 1
presets/pokemon.js Переглянути файл

@@ -40826,5 +40826,8 @@ function makePokemon() {
constructor: value
});
});
return results;

return results.sort((a, b) => {
return a.name.localeCompare(b.name);
});
}

Завантаження…
Відмінити
Зберегти