Browse Source

Minor improvements

pull/327/head
Thomas 4 years ago
parent
commit
6a2424ad8c
  1. 2
      apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html
  2. 2
      apps/client/src/app/components/value/value.component.ts

2
apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html

@ -102,10 +102,10 @@
</div> </div>
<div class="col-6 mb-3"> <div class="col-6 mb-3">
<gf-value <gf-value
[label]="transactionCount == 1 ? 'Transaction' : 'Transactions'"
size="medium" size="medium"
[isCurrency]="false" [isCurrency]="false"
[isInteger]="true" [isInteger]="true"
[label]="transactionCount === 1 ? 'Transaction' : 'Transactions'"
[locale]="data.locale" [locale]="data.locale"
[value]="transactionCount" [value]="transactionCount"
></gf-value> ></gf-value>

2
apps/client/src/app/components/value/value.component.ts

@ -19,8 +19,8 @@ export class ValueComponent implements OnChanges, OnInit {
@Input() colorizeSign: boolean; @Input() colorizeSign: boolean;
@Input() currency: string; @Input() currency: string;
@Input() isCurrency: boolean; @Input() isCurrency: boolean;
@Input() isPercent: boolean;
@Input() isInteger: boolean; @Input() isInteger: boolean;
@Input() isPercent: boolean;
@Input() label: string; @Input() label: string;
@Input() locale: string; @Input() locale: string;
@Input() position: string; @Input() position: string;

Loading…
Cancel
Save