v10.6.4 #614
@ -62,7 +62,9 @@ export class Environnement {
|
||||
const compendiumsElement = await Promise.all(
|
||||
this.compendiumTables.map(async compTable => await compTable.getContent(itemFrequence, filter))
|
||||
);
|
||||
return compendiumsElement.reduce((a, b) => a.concat(b))
|
||||
const elements = compendiumsElement.reduce((a, b) => a.concat(b));
|
||||
elements.sort(Misc.ascending(it => it.name))
|
||||
return elements;
|
||||
}
|
||||
|
||||
async buildTable(itemFrequence, filter = it => true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user