This commit is contained in:
tiago.kayaya
2021-04-16 09:57:08 +01:00
parent f33f7696aa
commit 8611b98f87
2 changed files with 9 additions and 4 deletions
@@ -40,7 +40,7 @@ export class ChatPopoverPage implements OnInit {
leaveGroup(){
console.log('leave');
/* let body = { "roomId":this.roomId, }
let body = { "roomId":this.roomId, }
this.chatService.getRoomInfo(this.roomId).subscribe(room=>{
this.room = room['room'];
@@ -55,7 +55,7 @@ export class ChatPopoverPage implements OnInit {
console.log(res);
});
}
}); */
});
this.modalController.dismiss('leave');
}
//Delete
@@ -79,7 +79,8 @@ export class ChatPopoverPage implements OnInit {
}
async openChangeGroupName(){
const modal = await this.modalController.create({
this.modalController.dismiss('edit');
/* const modal = await this.modalController.create({
component: EditGroupPage,
componentProps: {
//room: this.room,
@@ -92,7 +93,7 @@ export class ChatPopoverPage implements OnInit {
modal.onDidDismiss().then((res)=>{
console.log(res.data);
this.modalController.dismiss(res.data);
});
}); */
}
}