mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
@@ -35,7 +35,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
if( window.innerWidth <= 701){
|
||||
if( window.innerWidth < 701){
|
||||
this.popoverController.dismiss(action);
|
||||
this.modalController.dismiss(action);
|
||||
}
|
||||
@@ -50,7 +50,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
async setRoomOwner(){
|
||||
let classs;
|
||||
if (window.innerWidth <= 800) {
|
||||
if (window.innerWidth < 701) {
|
||||
classs = 'modal modal-desktop'
|
||||
} else {
|
||||
classs = 'centered-rounded-modal'
|
||||
@@ -68,6 +68,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res.data == 'success'){
|
||||
this.leaveGroup();
|
||||
//this.wsChatMethodsService.hidingRoom(this.roomId);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user