fix undefined date at response from websocket api

This commit is contained in:
tiago.kayaya
2022-02-02 10:01:37 +01:00
parent 964a4201c9
commit aad07d8349
3 changed files with 14 additions and 11 deletions
@@ -66,7 +66,9 @@ export class ChatPopoverPage implements OnInit {
});
await modal.present();
modal.onDidDismiss().then((res)=>{
this.leaveGroup();
if(res.data == 'success'){
this.leaveGroup();
}
});
}