Skip to content

Commit ca8a00f

Browse files
author
Your Name
committed
Angular Router Course
1 parent 4959e68 commit ca8a00f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/chat/chat.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ <h2>How can we help you?</h2>
88

99
<button mat-raised-button color="primary">Send Message</button>
1010

11-
<button mat-raised-button>Close Chat</button>
11+
<button mat-raised-button
12+
[routerLink]="[ '../', {outlets: {chat: null}}]">
13+
Close Chat
14+
</button>
1215

1316
</div>
1417

0 commit comments

Comments
 (0)