Skip to content
Snippets Groups Projects
Commit 3ab13418 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Adjust room-list

parent af080bce
Branches
1 merge request!96Resolve "comment creation api"
...@@ -32,7 +32,7 @@ export class RoomListComponent implements OnInit { ...@@ -32,7 +32,7 @@ export class RoomListComponent implements OnInit {
} }
getRooms(): void { getRooms(): void {
this.roomService.getRoomsCreator().subscribe(rooms => { this.roomService.getRooms().subscribe(rooms => {
this.rooms = rooms; this.rooms = rooms;
this.closedRooms = this.rooms.filter(room => room.closed); this.closedRooms = this.rooms.filter(room => room.closed);
}); });
......
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