mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fixed the select repetition on edit event
This commit is contained in:
@@ -109,6 +109,7 @@ export class EditEventPage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.postEvent.Attendees != null) {
|
||||||
const result = this.participantsPipe.transform(this.postEvent.Attendees)
|
const result = this.participantsPipe.transform(this.postEvent.Attendees)
|
||||||
this.taskParticipants = result.taskParticipants
|
this.taskParticipants = result.taskParticipants
|
||||||
this.taskParticipantsCc = result.taskParticipantsCc
|
this.taskParticipantsCc = result.taskParticipantsCc
|
||||||
@@ -118,7 +119,7 @@ export class EditEventPage implements OnInit {
|
|||||||
|
|
||||||
this.setIntervenient.emit(this.taskParticipants);
|
this.setIntervenient.emit(this.taskParticipants);
|
||||||
this.setIntervenientCC.emit(this.taskParticipantsCc);
|
this.setIntervenientCC.emit(this.taskParticipantsCc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.initCalendarName = this.postEvent.CalendarName;
|
this.initCalendarName = this.postEvent.CalendarName;
|
||||||
@@ -127,14 +128,10 @@ export class EditEventPage implements OnInit {
|
|||||||
|
|
||||||
this.getRecurrenceTypes();
|
this.getRecurrenceTypes();
|
||||||
|
|
||||||
this.postEvent.EventRecurrence.Type = this.postEvent.EventRecurrence.Type.toString();
|
|
||||||
|
|
||||||
// this.postEvent.EventRecurrence.LastOccurrence = this.currentDate;
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.postEvent.EventRecurrence.Type = this.postEvent.EventRecurrence.Type.toString();
|
this.postEvent.EventRecurrence.Type = this.postEvent.EventRecurrence.Type.toString();
|
||||||
|
|
||||||
}, 1000);
|
}, 500);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user