mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
further improvements on events to approve and expedientes view for mobile
This commit is contained in:
@@ -263,11 +263,12 @@ export class GabineteDigitalPage implements OnInit {
|
||||
console.log(profile);
|
||||
|
||||
this.closeAllDesktopComponents();
|
||||
let navigationExtras: NavigationExtras = { queryParams: {"eventos": true,}};
|
||||
if( window.innerWidth <= 800){
|
||||
this.openEventsToApproveList(profile);
|
||||
//this.openEventsToApproveList(profile);
|
||||
this.router.navigate(['/home/gabinete-digital/event-list']);
|
||||
}
|
||||
else{
|
||||
let navigationExtras: NavigationExtras = { queryParams: {"eventos": true,}};
|
||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||
this.showEventsToApprove = true;
|
||||
}
|
||||
@@ -296,7 +297,8 @@ export class GabineteDigitalPage implements OnInit {
|
||||
openExpedientListPage() {
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 800) {
|
||||
this.openExpedientList();
|
||||
//this.openExpedientList();
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
}
|
||||
else {
|
||||
this.selectedElement='Correspondence'
|
||||
|
||||
Reference in New Issue
Block a user