Skip to content
Snippets Groups Projects
Commit e1cc8138 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

Merge branch 'sort-sessions' into 'master'

Add sorting for user sessions

See merge request arsnova/frag.jetzt!19
parents 1be3fcd4 b3e8c942
No related merge requests found
...@@ -65,7 +65,7 @@ export class RoomListComponent implements OnInit { ...@@ -65,7 +65,7 @@ export class RoomListComponent implements OnInit {
}); });
} }
return roomWithRole; return roomWithRole;
}); }).sort((a, b) => 0 - (a.name < b.name ? 1 : -1));
this.isLoading = false; this.isLoading = false;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment