Skip to content

Commit 77dcca7

Browse files
author
ijz953
committed
docs: adding debug info
1 parent 63adf95 commit 77dcca7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

projects/ngrx.io/src/app/custom-elements/events/event-list.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export class EventListComponent {
7777
}
7878

7979
constructor(private eventService: EventService) {
80+
console.log('hello2');
8081
this.eventService.events.subscribe(value => {
82+
console.log('hello3' + value);
8183
const displayEvents: DisplayEvent[] = value.map(event => {
8284
const startDate = event.startDate ? new Date(event.startDate) : undefined;
8385
const endDate = new Date(event.endDate);

projects/ngrx.io/src/app/custom-elements/events/event.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export class EventService {
1414
events: Observable<Event[]>;
1515

1616
constructor(private http: HttpClient) {
17+
console.log('here');
1718
this.events = this.getEvents();
1819
}
1920

0 commit comments

Comments
 (0)