This commit is contained in:
tiago.kayaya
2021-06-23 10:20:19 +01:00
parent dcebb41d04
commit f949a9d1af
@@ -279,6 +279,8 @@ export class GabineteDigitalPage implements OnInit {
} }
doRefresh(event) { doRefresh(event) {
console.log(event);
this.closeAllDesktopComponents(); this.closeAllDesktopComponents();
switch(this.loggeduser.Profile){ switch(this.loggeduser.Profile){
case 'MDGPR': case 'MDGPR':
@@ -294,9 +296,15 @@ export class GabineteDigitalPage implements OnInit {
this.LoadCounts(); this.LoadCounts();
//this.refreshExpedientes(); //this.refreshExpedientes();
setTimeout(() => { if(event){
event.target.complete(); setTimeout(() => {
}, 2000); event.target.complete();
}, 2000);
}
else{
console.log('null');
}
} }
notImplemented(){ notImplemented(){