Ignore:
Timestamp:
09/30/20 10:37:22 (3 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
1454207
Parents:
63d885e
Message:

Add new repo, service and controller

File:
1 edited

Legend:

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

    r63d885e r5d02859  
    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;
     21          console.log(this.korona);
    2122        },
    2223        (err: any) => console.log(err),
Note: See TracChangeset for help on using the changeset viewer.