funky-framadate-front/src/app/shared/components/comments/comments.component.ts

17 lines
475 B
TypeScript
Raw Normal View History

2020-05-12 19:16:23 +02:00
import { Component } from '@angular/core';
2020-05-01 19:10:17 +02:00
import { Observable } from 'rxjs';
import { Poll } from '../../../core/models/poll.model';
import { PollService } from '../../../core/services/poll.service';
@Component({
2020-05-12 19:16:23 +02:00
selector: 'app-comments',
templateUrl: './comments.component.html',
styleUrls: ['./comments.component.scss'],
2020-05-01 19:10:17 +02:00
})
2020-05-12 19:16:23 +02:00
export class CommentsComponent {
2020-05-05 18:17:12 +02:00
public _poll: Observable<Poll> = this.pollService.poll;
2020-05-01 19:10:17 +02:00
2020-05-05 18:17:12 +02:00
constructor(private pollService: PollService) {}
2020-05-01 19:10:17 +02:00
}