+
+
-
+
-
-
-
-
-
-
-
-
- Anexar Documentos
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Oficial
+ Pessoal
+
+
+
+
+
+
+
+
+
+
+
+
+ Reunião
+ Viagem
+ Conferência
+ Encontro
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Não se repete
+ Repete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Anexar Documentos
+
+
+
+
+
diff --git a/src/app/shared/agenda/new-event/new-event.component.ts b/src/app/shared/agenda/new-event/new-event.component.ts
index d209102ce..293dcf94a 100644
--- a/src/app/shared/agenda/new-event/new-event.component.ts
+++ b/src/app/shared/agenda/new-event/new-event.component.ts
@@ -116,10 +116,10 @@ export class NewEventPage implements OnInit {
this.postEvent.Attendees = this.taskParticipants;
- if(this.profile=='mdgpr'){
+ if(this.profile=='mdgpr') {
this.eventService.postEventMd(this.postEvent, this.postEvent.CalendarName).subscribe();
}
- else if(this.profile=='pr'){
+ else if(this.profile=='pr') {
this.eventService.postEventPr(this.postEvent, this.postEvent.CalendarName).subscribe();
}
@@ -134,6 +134,9 @@ export class NewEventPage implements OnInit {
async addParticipants() {
+
+ this.saveTemporaryData();
+
this.openAttendeesComponent.emit({
type: "intervenient"
});
@@ -142,6 +145,9 @@ export class NewEventPage implements OnInit {
}
async addParticipantsCc() {
+
+ this.saveTemporaryData();
+
this.openAttendeesComponent.emit({
type: "CC"
});