merge with developer

This commit is contained in:
Eudes Inácio
2021-09-21 06:16:06 +01:00
42 changed files with 934 additions and 296 deletions
+8 -6
View File
@@ -123,7 +123,9 @@ export class EventsPage implements OnInit {
this.router.events.forEach((event) => {
if (event instanceof NavigationEnd && event.url == '/home/events') {
this.RefreshEvents();
this.LoadList();
setTimeout(()=>{
this.LoadList();
}, 1500)
}
});
this.hideSearch();
@@ -442,9 +444,9 @@ export class EventsPage implements OnInit {
}
}
viewExpedientListPage() {
if (this.loggeduser.Profile == 'MDGPR') {
if (window.innerWidth < 801) {
viewExpedientListPage(){
if(this.loggeduser.Profile == 'MDGPR'){
if( window.innerWidth < 701){
this.router.navigate(['/home/gabinete-digital/expediente']);
}
else {
@@ -452,8 +454,8 @@ export class EventsPage implements OnInit {
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
}
}
else if (this.loggeduser.Profile == 'PR') {
if (window.innerWidth < 801) {
else if(this.loggeduser.Profile == 'PR'){
if( window.innerWidth < 701){
this.router.navigate(['/home/gabinete-digital/expedientes-pr']);
}
else {