mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Revert "EventsService Changes. Attendees Page. Others."
This reverts commit 11fdfe1e54.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user