Browse Source

fix(ui): changes on qty precision

pull/4255/head
KenTandrian 7 months ago
parent
commit
14ab7a71eb
  1. 2
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts

2
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts

@ -296,7 +296,7 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
if (Number.isInteger(this.quantity)) { if (Number.isInteger(this.quantity)) {
this.quantityPrecision = 0; this.quantityPrecision = 0;
} else if (this.SymbolProfile?.assetSubClass === 'CRYPTOCURRENCY') { } else if (SymbolProfile?.assetSubClass === 'CRYPTOCURRENCY') {
if (this.quantity < 1) { if (this.quantity < 1) {
this.quantityPrecision = 7; this.quantityPrecision = 7;
} else if (this.quantity < 1000) { } else if (this.quantity < 1000) {

Loading…
Cancel
Save