mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Add Attendees at New Event working
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
displayFormat="D MMM YYYY H:mm"
|
||||
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"></ion-datetime>
|
||||
</ion-item>
|
||||
<!-- <div class="div-attach">
|
||||
<div class="div-attach">
|
||||
<ion-item lines="none">
|
||||
<ion-icon name="add" slot="end" (click)="addAttendees()"></ion-icon>
|
||||
<ion-label class="attach-label">Intervenientes</ion-label>
|
||||
@@ -85,7 +85,7 @@
|
||||
<ion-label class="attach-label">Anexos</ion-label>
|
||||
</ion-item>
|
||||
<div id="AttachFiles"></div>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
|
||||
@@ -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