fix expediente cant list and marcar reuniao

This commit is contained in:
Peter Maquiran
2023-02-01 17:24:30 +01:00
parent b5953c8519
commit d61b70bbd0
5 changed files with 54 additions and 43 deletions
+6 -1
View File
@@ -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)
}
}