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