Ignore:
Timestamp:
10/30/20 02:04:06 (3 years ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
1f4846d
Parents:
6f203af
Message:

Auth guards and services, refactored components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/korona/korona.component.ts

    r6f203af r993189e  
    99})
    1010export class KoronaComponent implements OnInit {
    11   public korona: IPandemic[];
     11  public korona: IPandemic;
    1212
    1313  constructor(private dataService: DataService) {
     
    1717  ngOnInit(): void {
    1818    this.dataService.getPandemic()
    19         .subscribe((res: IPandemic[]) => {
     19        .subscribe((res: IPandemic) => {
    2020          this.korona = res;
    2121          console.log(this.korona);
Note: See TracChangeset for help on using the changeset viewer.