mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
style new group view desktop/tablet
This commit is contained in:
@@ -60,6 +60,7 @@ export class ChatPage implements OnInit {
|
||||
showEmptyComponent=true;
|
||||
showMessages=false;
|
||||
showContacts=false;
|
||||
showNewGroup=false;
|
||||
showGroupMessages=false;
|
||||
|
||||
@Output() getRoomInfo;
|
||||
@@ -102,6 +103,7 @@ export class ChatPage implements OnInit {
|
||||
closeAllDesktopComponents() {
|
||||
this.showMessages=false;
|
||||
this.showContacts=false;
|
||||
this.showNewGroup=false;
|
||||
this.showGroupMessages=false;
|
||||
this.showEmptyComponent=false;
|
||||
}
|
||||
@@ -128,6 +130,15 @@ export class ChatPage implements OnInit {
|
||||
this.showContacts=true;
|
||||
}
|
||||
}
|
||||
openNewGroupPage() {
|
||||
if( window.innerWidth <= 1024){
|
||||
this.newGroup();
|
||||
}
|
||||
else{
|
||||
this.closeAllDesktopComponents();
|
||||
this.showNewGroup=true;
|
||||
}
|
||||
}
|
||||
openGroupMessagesPage(rid) {
|
||||
if( window.innerWidth <= 1024){
|
||||
this.openGroupMessagesModal(rid);
|
||||
|
||||
Reference in New Issue
Block a user