Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getData(): Observable<Disciplines[]> {
- return this.http.get<Disciplines[]>(this.configService.apiUrl + "data?gf=off");
- }
- ngOnInit() {
- console.log("=>" + "Component Initiated")
- this.dataService.getData().subscribe(
- data => {
- this.rowData = data;
- },
- error => {
- console.log(error);
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement