This commit is contained in:
tiago.kayaya
2021-06-25 12:59:02 +01:00
parent cb044f3920
commit a4669a9e4f
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ export class EventsPage implements OnInit {
this.showLoader = false;
}
else{
else if (this.loggeduser.Profile == 'PR'){
let prOficialEvents= await this.eventService.getAllPrOficialEvents(start, end).toPromise();
let prPessoalEvents= await this.eventService.getAllPrPessoalEvents(start, end).toPromise();
-9
View File
@@ -118,15 +118,6 @@ export class EventsService {
params = params.set("Start", startdate);
params = params.set("End", enddate);
/* switch (this.loggeduser.Profile == 'MDGPR') {
case value:
break;
default:
break;
} */
let options = {
headers: this.headersPrOficial,