Merge branch 'niklas_dev2' of Software_Engineering_I/greenvironment-frontend into master

master
Niklas_L 5 years ago committed by Gitea
commit afc8c141bd

@ -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