mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve
This commit is contained in:
@@ -300,7 +300,7 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
if(this.CalendarName == 'MDGPR') {
|
||||
if(this.loggeduser.Profile == 'MDGPR') {
|
||||
console.log(this.loggeduser.Profile);
|
||||
|
||||
console.log(this.postEvent);
|
||||
@@ -309,7 +309,7 @@ export class NewEventPage implements OnInit {
|
||||
console.log(eventId);
|
||||
|
||||
}
|
||||
else if(this.CalendarName == 'PR'){
|
||||
else if(this.loggeduser.Profile == 'PR') {
|
||||
console.log(this.loggeduser.Profile);
|
||||
|
||||
eventId = await this.eventService.postEventPr(this.postEvent, this.postEvent.CalendarName).toPromise();
|
||||
|
||||
Reference in New Issue
Block a user