Frontend #143
@ -9,10 +9,6 @@ import { HelperService } from 'src/app/Helpers/helper.service';
|
||||
import { ProfileService } from 'src/app/Services/profile.service';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
export interface Fruit {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Share {
|
||||
isin: string;
|
||||
}
|
||||
|
@ -4,13 +4,6 @@ import { MatDialog } from '@angular/material/dialog';
|
||||
import { UserDialogComponent } from './user-dialog/user-dialog.component';
|
||||
import { HelperService } from 'src/app/Helpers/helper.service';
|
||||
|
||||
export interface PeriodicElement {
|
||||
name: string;
|
||||
position: number;
|
||||
weight: number;
|
||||
symbol: string;
|
||||
}
|
||||
|
||||
export interface Stock {
|
||||
count: number;
|
||||
currentPrice: number;
|
||||
@ -18,14 +11,6 @@ export interface Stock {
|
||||
time: string;
|
||||
}
|
||||
|
||||
//symbol count lastTransaction boughtPrice currentPrice(+?)
|
||||
|
||||
const ELEMENT_DATA: PeriodicElement[] = [
|
||||
{ position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' },
|
||||
{ position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' },
|
||||
{ position: 3, name: 'Lithium', weight: 6.941, symbol: 'Li' },
|
||||
];
|
||||
|
||||
var TRANSACTION_DATA: TransactionData[] = [];
|
||||
var STOCK_DATA: Stock[] = [];
|
||||
|
||||
@ -153,5 +138,4 @@ export class DashboardComponent implements OnInit {
|
||||
'weight',
|
||||
'current-price',
|
||||
];
|
||||
dataSource = ELEMENT_DATA;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user