This commit is contained in:
Peter Maquiran
2023-05-23 11:56:12 +01:00
parent 181a9dbd76
commit 033a6c331c
49 changed files with 832 additions and 278 deletions
@@ -81,17 +81,19 @@ export class EventListPage implements OnInit {
}
async LoadToApproveEvents() {
if(SessionStore.user.Profile == 'PR') {
return false
}
this.showLoader = true;
const segment: any = this.segment
if(this.segment == 'Meu calendario') {
// color
if(SessionStore.user.Profile == 'PR') {
this.color = 'pr'
} else {
this.color = 'mdgpr'
}
this.color = 'mdgpr'
let genericEvents = await this.processes.eventsToApprove(SessionStore.user.UserId,'mobile agenda').toPromise()
try {