From 4d5d93c692e992b61459ce2dc765b0ed4f3e3802 Mon Sep 17 00:00:00 2001 From: Hagen <hagen.dressler@mni.thm.de> Date: Fri, 9 Mar 2018 13:00:51 +0100 Subject: [PATCH] Fix app-routing --- src/app/create-comment/create-comment.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/create-comment/create-comment.component.ts b/src/app/create-comment/create-comment.component.ts index fae17afe2..73e69402c 100644 --- a/src/app/create-comment/create-comment.component.ts +++ b/src/app/create-comment/create-comment.component.ts @@ -45,7 +45,7 @@ export class CreateCommentComponent implements OnInit { subject: subject, body: body, creationTimestamp: new Date(Date.now()) - } as Comment).subscribe(room => { + } as Comment).subscribe(() => { this.router.navigate([`/participant/room/${this.room.id}`]); this.notification.show(`Comment '${subject}' successfully created.`); }); -- GitLab