Chat Test2

master
lampe_n1 5 years ago
parent e869d168cb
commit c013e06ddf

@ -52,6 +52,7 @@ export class ChatmanagerComponent implements OnInit {
refresh() { refresh() {
this.chatService.getAllChatsRaw() this.chatService.getAllChatsRaw()
.subscribe(response => { .subscribe(response => {
console.log(response)
this.parentChats = this.chatService.renderAllChats(response.json()) this.parentChats = this.chatService.renderAllChats(response.json())
}) })
} }

Loading…
Cancel
Save