Browse Source

Refactoring

pull/5345/head
Thomas Kaul 2 weeks ago
parent
commit
6583933458
  1. 4
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts

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

@ -285,8 +285,8 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
this.averagePrice = averagePrice;
if (
this.data.deviceType === 'mobile' &&
this.averagePrice >= NUMERICAL_PRECISION_THRESHOLD_6_FIGURES
this.averagePrice >= NUMERICAL_PRECISION_THRESHOLD_6_FIGURES &&
this.data.deviceType === 'mobile'
) {
this.averagePricePrecision = 0;
}

Loading…
Cancel
Save