|
|
|
@ -100,6 +100,7 @@ import { HoldingDetailDialogParams } from './interfaces/interfaces'; |
|
|
|
templateUrl: 'holding-detail-dialog.html' |
|
|
|
}) |
|
|
|
export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { |
|
|
|
public activitiesCount: number; |
|
|
|
public activityForm: FormGroup; |
|
|
|
public accounts: Account[]; |
|
|
|
public assetClass: string; |
|
|
|
@ -151,8 +152,6 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { |
|
|
|
public SymbolProfile: EnhancedSymbolProfile; |
|
|
|
public tags: Tag[]; |
|
|
|
public tagsAvailable: Tag[]; |
|
|
|
public totalItems: number; |
|
|
|
public transactionCount: number; |
|
|
|
public user: User; |
|
|
|
public value: number; |
|
|
|
|
|
|
|
@ -282,6 +281,7 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { |
|
|
|
tags, |
|
|
|
value |
|
|
|
}) => { |
|
|
|
this.activitiesCount = activitiesCount; |
|
|
|
this.averagePrice = averagePrice; |
|
|
|
|
|
|
|
if ( |
|
|
|
@ -429,8 +429,6 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { |
|
|
|
|
|
|
|
this.activityForm.setValue({ tags: this.tags }, { emitEvent: false }); |
|
|
|
|
|
|
|
this.transactionCount = activitiesCount; |
|
|
|
this.totalItems = activitiesCount; |
|
|
|
this.value = value; |
|
|
|
|
|
|
|
if (SymbolProfile?.assetClass) { |
|
|
|
|