- Timestamp:
- 10/30/20 02:04:06 (4 years ago)
- Branches:
- master
- Children:
- 1f4846d
- Parents:
- 6f203af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/korona/korona.component.ts
r6f203af r993189e 9 9 }) 10 10 export class KoronaComponent implements OnInit { 11 public korona: IPandemic [];11 public korona: IPandemic; 12 12 13 13 constructor(private dataService: DataService) { … … 17 17 ngOnInit(): void { 18 18 this.dataService.getPandemic() 19 .subscribe((res: IPandemic []) => {19 .subscribe((res: IPandemic) => { 20 20 this.korona = res; 21 21 console.log(this.korona);
Note:
See TracChangeset
for help on using the changeset viewer.