This commit is contained in:
tiago.kayaya
2021-04-07 15:57:44 +01:00
parent 12c3857d1c
commit b89183f200
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -931,6 +931,7 @@ export class AgendaPage implements OnInit {
const modal = await this.modalCtrl.create({
component: EventListPage,
componentProps:{
profile: this.profile,
},
cssClass: 'modal modal-desktop',
backdropDismiss: false
@@ -32,6 +32,8 @@ export class EventListPage implements OnInit {
ngOnInit() {
this.profile = this.navParams.get('profile');
console.log(this.profile);
/* console.log(this.navParams.get('md')); */
if(this.profile == "mdgpr"){
this.profile = 'MDGPR'
@@ -174,6 +174,8 @@ this.processesbackend.GetActionsList().subscribe(res=>{
}
openEventsToApprovePage(profile:any){
console.log(profile);
this.closeAllDesktopComponents();
if( window.innerWidth <= 1024){
this.openEventsToApproveList(profile);