mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Add Attendees at New Event working
This commit is contained in:
@@ -78,7 +78,7 @@ export class CalModalPage implements AfterViewInit {
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
let newattendees: EventPerson[] = data['data'];
|
||||
console.log(this.eventAttendees);
|
||||
|
||||
|
||||
if (newattendees != null)
|
||||
{
|
||||
@@ -92,9 +92,12 @@ export class CalModalPage implements AfterViewInit {
|
||||
{
|
||||
this.eventAttendees = new Array();
|
||||
}
|
||||
this.postEvent.Attendees = this.eventAttendees;
|
||||
this.eventAttendees.push(att);
|
||||
|
||||
});
|
||||
}
|
||||
this.postEvent.Attendees = this.eventAttendees;
|
||||
console.log(this.eventAttendees);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user