-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import price from csv and remove comments
- Loading branch information
1 parent
4b5c13a
commit 1590b09
Showing
4 changed files
with
16 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
...-frontend/src/app/components/pagesHelperComponents/Register-page/table/table.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
import { Ticket } from 'src/app/interfaces/Ticket'; | ||
import { CsvDataService } from 'src/app/services/csv-data/csv-data.service'; | ||
@Component({ | ||
selector: 'isd-table', | ||
templateUrl: './table.component.html', | ||
styleUrls: ['./table.component.scss'] | ||
}) | ||
export class TableComponent implements OnInit { | ||
|
||
constructor() { } | ||
tickets!: Ticket[]; | ||
constructor(private csvDataService: CsvDataService) { } | ||
|
||
ngOnInit(): void { | ||
this.csvDataService.getTicketsData().subscribe(tickets => { | ||
this.tickets = tickets; | ||
}) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters