projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: Added a chatroom component, that is navigatable by the chatroom's ID
[demos/kafka/chat]
/
src
/
app
/
chatrooms
/
chatrooms.component.html
diff --git
a/src/app/chatrooms/chatrooms.component.html
b/src/app/chatrooms/chatrooms.component.html
index
c265675
..
4df38de
100644
(file)
--- a/
src/app/chatrooms/chatrooms.component.html
+++ b/
src/app/chatrooms/chatrooms.component.html
@@
-3,6
+3,6
@@
<h3 class="panel-title">Please Choose a Chat-Room</h3>
</div>
<div class="panel-body">
<h3 class="panel-title">Please Choose a Chat-Room</h3>
</div>
<div class="panel-body">
- <button *ngFor="let chatroom of chatrooms" type="button" class="btn btn-default btn-lg btn-block">{{chatroom.name}}</button>
+ <button *ngFor="let chatroom of chatrooms"
routerLink="/chatroom/{{chatroom.id}}"
type="button" class="btn btn-default btn-lg btn-block">{{chatroom.name}}</button>
</div>
</div>
</div>
</div>