fix: User name ordering doesn't take into account lowercase, closes OLN-227
This commit is contained in:
@@ -88,7 +88,11 @@ export default class UsersStore extends Store<User> {
|
||||
|
||||
@computed
|
||||
get orderedData(): User[] {
|
||||
return orderBy(Array.from(this.data.values()), "name", "asc");
|
||||
return orderBy(
|
||||
Array.from(this.data.values()),
|
||||
(user) => user.name.toLocaleLowerCase(),
|
||||
"asc"
|
||||
);
|
||||
}
|
||||
|
||||
@action
|
||||
|
||||
Reference in New Issue
Block a user