Add network graph for the home page
This commit is contained in:
6
server/dist/index.js
vendored
6
server/dist/index.js
vendored
@ -82,7 +82,11 @@ class FE_Charts {
|
||||
static getAllHouses() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
let houses = null;
|
||||
yield House.findAll().then(results => {
|
||||
yield House.findAll({
|
||||
order: [
|
||||
["Id_House", "ASC"]
|
||||
]
|
||||
}).then(results => {
|
||||
houses = results;
|
||||
}).catch(err => FE_Charts.logError(err));
|
||||
return houses;
|
||||
|
Reference in New Issue
Block a user