Feature/clean up unused @Input in top holdings component (#4683)
* Clean up unused input
This commit is contained in:
parent
11629ffd26
commit
b6e8431c53
@ -2,8 +2,7 @@ import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module';
|
||||
import { getLocale } from '@ghostfolio/common/helper';
|
||||
import {
|
||||
AssetProfileIdentifier,
|
||||
HoldingWithParents,
|
||||
PortfolioPosition
|
||||
HoldingWithParents
|
||||
} from '@ghostfolio/common/interfaces';
|
||||
import { GfValueComponent } from '@ghostfolio/ui/value';
|
||||
|
||||
@ -29,7 +28,6 @@ import {
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
|
||||
import { MatTableDataSource, MatTableModule } from '@angular/material/table';
|
||||
import { DataSource } from '@prisma/client';
|
||||
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
|
||||
import { Subject } from 'rxjs';
|
||||
|
||||
@ -64,13 +62,6 @@ export class GfTopHoldingsComponent implements OnChanges, OnDestroy {
|
||||
@Input() locale = getLocale();
|
||||
@Input() pageSize = Number.MAX_SAFE_INTEGER;
|
||||
@Input() topHoldings: HoldingWithParents[];
|
||||
@Input() positions: {
|
||||
[symbol: string]: Pick<PortfolioPosition, 'type'> & {
|
||||
dataSource?: DataSource;
|
||||
name: string;
|
||||
value: number;
|
||||
};
|
||||
} = {};
|
||||
|
||||
@Output() holdingClicked = new EventEmitter<AssetProfileIdentifier>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user