This commit is contained in:
tiago.kayaya
2021-11-09 17:22:49 +01:00
parent e4e5c5770e
commit e01949aa0e
5 changed files with 15 additions and 11 deletions
+5 -4
View File
@@ -109,13 +109,13 @@ export class EventsPage implements OnInit {
// console.log('Resize event detected');
});
window['zipPhoneCallback'] = function (zipphone) {
var frame = document.getElementById('home-iframe');
if(frame) {
frame['contentWindow']['postMessage']({call:'cookies', value: { cookies: {} }});
}
}
}
}
@@ -493,12 +493,13 @@ export class EventsPage implements OnInit {
}
goToExpediente(SerialNumber: any) {
if (this.loggeduser.Profile == 'MDGPR') {
this.router.navigate(['/home/events/expediente', SerialNumber, 'events']);
/* if (this.loggeduser.Profile == 'MDGPR') {
this.router.navigate(['/home/events/expediente', SerialNumber, 'events']);
}
else if (this.loggeduser.Profile == 'PR') {
this.router.navigate(['/home/events/expedientes-pr', SerialNumber, 'events']);
}
} */
}
viewExpedientListPage() {