mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -208,6 +208,7 @@ hideRefreshButton(){
|
||||
}
|
||||
openMessagesPage(rid) {
|
||||
if( window.innerWidth < 701){
|
||||
this.segment = '';
|
||||
this.openMessagesModal(rid);
|
||||
//this.router.navigate(['/home/chat/messages',rid,]);
|
||||
}
|
||||
@@ -257,6 +258,7 @@ hideRefreshButton(){
|
||||
console.log(rid);
|
||||
|
||||
if( window.innerWidth < 701){
|
||||
this.segment = '';
|
||||
this.openGroupMessagesModal(rid);
|
||||
}
|
||||
else{
|
||||
@@ -373,7 +375,7 @@ hideRefreshButton(){
|
||||
}
|
||||
else {
|
||||
//Check if modal is opened
|
||||
if(this.segment == "Contactos"){
|
||||
if(this.segment == "Contactos" && this.showMessages != true){
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
await this.getDirectMessages();
|
||||
console.log('Timer contactos list running')
|
||||
@@ -454,7 +456,7 @@ hideRefreshButton(){
|
||||
}
|
||||
else {
|
||||
//Check if modal is opened
|
||||
if(this.segment == "Grupos"){
|
||||
if(this.segment == "Grupos" && this.showGroupMessages != true){
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
await this.getGroups();
|
||||
console.log('Timer groups list running')
|
||||
|
||||
Reference in New Issue
Block a user