Minor cleanup

This commit is contained in:
2023-08-18 15:33:11 +02:00
parent 4b0292f0a4
commit b424495fd9
3 changed files with 9 additions and 7 deletions

View File

@ -201,6 +201,12 @@ export class MembersList {
for (const m of list) {
this.map.set(m.id, m);
}
this.list.sort((a, b) =>
a.invertedFullName
.toLowerCase()
.localeCompare(b.invertedFullName.toLocaleLowerCase())
);
}
public get isEmpty(): boolean {