Add classes for the comparator page

This commit is contained in:
dario-cfpt
2020-01-28 15:35:52 +01:00
parent 2baa70c2c2
commit f0ed0e519c
5 changed files with 100 additions and 29 deletions

View File

@ -77,7 +77,11 @@ class FE_Charts {
static getAllGenders() {
return __awaiter(this, void 0, void 0, function* () {
let genders = null;
yield Gender.findAll().then(results => {
yield Gender.findAll({
order: [
["id", "ASC"]
]
}).then(results => {
genders = results;
}).catch(err => FE_Charts.logError(err));
return genders;

File diff suppressed because one or more lines are too long