set connection id on start

This commit is contained in:
chsakell
2016-10-05 12:54:45 +03:00
parent 8a8055d0ba
commit 69afcd0108
9 changed files with 35 additions and 15 deletions

View File

@@ -10,6 +10,11 @@
<td><span class="teamName">{{match.Id}}</span></td>
<td><span class="teamScore"> {{match.Host}} vs {{match.Guest}} </span></td>
</tr>
<tr>
<td colspan="2">
<span class="match-th">{{connection}}</span>
</td>
</tr>
<tr>
<td colspan="2">
<div class="chat-table">

View File

@@ -10,6 +10,7 @@ import { FeedService } from '../services/feed.service';
export class ChatComponent implements OnInit {
@Input() matches: Match[];
@Input() connection: string;
messages: ChatMessage[];
constructor(private feedService: FeedService) { }