Revert "EventsService Changes. Attendees Page. Others."

This reverts commit 11fdfe1e54.
This commit is contained in:
Paulo Pinto
2020-08-25 12:52:45 +01:00
parent 11fdfe1e54
commit 04b2c25eb1
78 changed files with 1187 additions and 201 deletions
@@ -1,24 +0,0 @@
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);
}
}