From 49272ef064651ebb72cbf5ef419bb87d554cdf92 Mon Sep 17 00:00:00 2001 From: Thomas Lenz <Thomas.Lenz@mni.thm.de> Date: Fri, 9 Mar 2018 09:33:31 +0100 Subject: [PATCH] Changed route to the new creators-room-component after creation of a new room --- src/app/room-creation/room-creation.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/room-creation/room-creation.component.ts b/src/app/room-creation/room-creation.component.ts index bc08bf589..7b4d24e27 100644 --- a/src/app/room-creation/room-creation.component.ts +++ b/src/app/room-creation/room-creation.component.ts @@ -37,7 +37,7 @@ export class RoomCreationComponent implements OnInit { this.roomService.addRoom({ name: longRoomName, abbreviation: shortRoomName } as Room) .subscribe(room => { this.notification.show(`Room '${room.name}' successfully created.`); - this.router.navigate([`room/${room.id}`]); + this.router.navigate([`creator/room/${room.id}`]); this.dialogRef.close(); }); } -- GitLab