You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
688 B
20 lines
688 B
import { Component, OnInit } from '@angular/core'; |
|
import { Observable } from 'rxjs'; |
|
|
|
import { Poll } from '../../../models/poll.model'; |
|
import { MockingService } from '../../../services/mocking.service'; |
|
import { environment } from '../../../../../environments/environment'; |
|
|
|
@Component({ |
|
selector: 'app-navigation', |
|
templateUrl: './navigation.component.html', |
|
styleUrls: ['./navigation.component.scss'], |
|
}) |
|
export class NavigationComponent implements OnInit { |
|
public _pollsAvailables: Observable<Poll[]> = this.mockingService.pollsAvailables; |
|
public devModeEnabled = !environment.production; |
|
|
|
constructor(private mockingService: MockingService) {} |
|
|
|
public ngOnInit(): void {} |
|
}
|
|
|