EventsService Changes. Attendees Page. Others.

This commit is contained in:
Paulo Pinto
2020-08-25 12:47:49 +01:00
parent 751b8dd7c5
commit 11fdfe1e54
78 changed files with 201 additions and 1187 deletions
@@ -0,0 +1,24 @@
import { Component, OnInit, Injectable } from '@angular/core';
import { EventPerson } from 'src/app/models/eventperson.model';
import { ActivatedRoute } from '@angular/router';
import { EventDetailPage } from '../event-detail/event-detail.page';
import { EventsService } from 'src/app/services/events.service';
@Component({
selector: 'app-attendees',
templateUrl: './attendees.page.html',
styleUrls: ['./attendees.page.scss'],
})
export class AttendeesPage implements OnInit {
eventAttendees: EventPerson[];
segment:string;
constructor(private activatedRoute: ActivatedRoute, public eventService: EventsService) {
}
ngOnInit() {
this.eventAttendees = this.eventService.loadedEvent.Attendees;
console.log(this.eventService.loadedEvent);
}
}