From 5e4e0458022c3a215ca212ba46e82f69c61e7774 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 28 Sep 2024 10:06:31 +0200 Subject: [PATCH] Fix client --- .../holding-detail-dialog.component.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts index b42565705..721eaf2ca 100644 --- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts +++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts @@ -431,13 +431,6 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { if (Number.isInteger(this.quantity)) { this.quantityPrecision = 0; - if ( - orders - .filter((o) => o.type === 'STAKE') - .every((o) => Number.isInteger(o.quantity)) - ) { - this.stakeRewards = 0; - } } else if (this.SymbolProfile?.assetSubClass === 'CRYPTOCURRENCY') { if (this.quantity < 1) { this.quantityPrecision = 7;