Delete message in chat completed

This commit is contained in:
tiago.kayaya
2021-09-28 15:23:51 +01:00
parent 4f61719f59
commit 988711a104
11 changed files with 94 additions and 29 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ hideRefreshButton(){
this.chatService.getAllDirectMessages().subscribe(async (res:any)=>{
if(res != 200){
console.log(res.ims);
//console.log(res.ims);
this.userDirectMessages = res.ims.sort((a,b)=>{
var dateA = new Date(a._updatedAt).getTime();
var dateB = new Date(b._updatedAt).getTime();