mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Remove relevant console log,
This commit is contained in:
@@ -31,7 +31,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log(this.roomId);
|
||||
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
@@ -79,7 +79,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
let res:any = await this.wsChatMethodsService.leaveRoom(this.roomId);
|
||||
|
||||
console.log(res.error.error);
|
||||
|
||||
|
||||
if(res.error){
|
||||
if(res.error.error = "error-you-are-last-owner"){
|
||||
@@ -107,7 +107,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
if(this.room.t === 'p'){
|
||||
this.chatService.leaveGroup(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.close('leave');
|
||||
},
|
||||
(e)=>{
|
||||
@@ -130,7 +130,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
else{
|
||||
this.chatService.leaveChannel(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.close('leave');
|
||||
},
|
||||
(e)=>{
|
||||
@@ -158,12 +158,12 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
if(this.room.t === 'p'){
|
||||
this.chatService.deleteGroup(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
});
|
||||
}
|
||||
else{
|
||||
this.chatService.deleteChannel(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user