Browse Source

Fix client

pull/5027/head
Dan 9 months ago
parent
commit
5e4e045802
  1. 7
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts

7
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;

Loading…
Cancel
Save