mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Add new component in agenda
This commit is contained in:
@@ -6,7 +6,6 @@ import { Event } from 'src/app/models/event.model';
|
||||
import { AttendeesPage } from 'src/app/pages/events/attendees/attendees.page';
|
||||
import { ModalController } from '@ionic/angular';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-new-event',
|
||||
templateUrl: './new-event.component.html',
|
||||
@@ -16,14 +15,15 @@ export class NewEventPage implements OnInit {
|
||||
postEvent: Event;
|
||||
eventBody: EventBody;
|
||||
segment:string = "true";
|
||||
eventAttendees: EventPerson[];
|
||||
|
||||
@Input() profile:string;
|
||||
@Input() selectedSegment: string;
|
||||
@Input() selectedDate: Date;
|
||||
@Input() eventAttendees: EventPerson[];
|
||||
|
||||
@Output() onAddEvent = new EventEmitter<any>();
|
||||
@Output() openAttendeesComponent = new EventEmitter<any>();
|
||||
@Output() clearContact = new EventEmitter<any>();
|
||||
|
||||
minDate: string;
|
||||
|
||||
@@ -91,6 +91,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
close(){
|
||||
this.onAddEvent.emit(false);
|
||||
this.clearContact.emit();
|
||||
}
|
||||
save(){
|
||||
|
||||
@@ -102,6 +103,8 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
this.onAddEvent.emit(this.postEvent);
|
||||
|
||||
this.clearContact.emit();
|
||||
}
|
||||
|
||||
async openAttendees(data: any)
|
||||
|
||||
Reference in New Issue
Block a user