mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix expediente cant list and marcar reuniao
This commit is contained in:
@@ -21,9 +21,14 @@ export class EventService {
|
||||
|
||||
|
||||
if(this.p.userRole(['PR'])) {
|
||||
alert('pr')
|
||||
return this.eventService.postEventPr(body, calendar)
|
||||
} else {
|
||||
} else if(this.p.userRole(['MDGPR'])) {
|
||||
alert('md')
|
||||
return this.eventService.postEventMd(body, calendar)
|
||||
} else {
|
||||
alert('other')
|
||||
return this.eventService.postEventGeneric(body, calendar, body.CalendarId)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user