Browse Source

Merge bbe823cc0b into e2382834c3

pull/5530/merge
Batwam 20 hours ago
committed by GitHub
parent
commit
8983268548
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      apps/client/src/app/components/home-market/home-market.html
  2. 1
      apps/client/src/app/components/markets/markets.html
  3. 7
      libs/ui/src/lib/benchmark/benchmark.component.html
  4. 1
      libs/ui/src/lib/benchmark/benchmark.component.ts

1
apps/client/src/app/components/home-market/home-market.html

@ -34,6 +34,7 @@
[benchmarks]="benchmarks"
[deviceType]="deviceType"
[locale]="user?.settings?.locale || undefined"
[showSymbol]="false"
[user]="user"
/>
@if (benchmarks?.length > 0) {

1
apps/client/src/app/components/markets/markets.html

@ -43,6 +43,7 @@
[benchmarks]="benchmarks"
[deviceType]="deviceType"
[locale]="user?.settings?.locale || undefined"
[showSymbol]="false"
[user]="user"
/>
@if (benchmarks?.length > 0) {

7
libs/ui/src/lib/benchmark/benchmark.component.html

@ -12,7 +12,12 @@
Name
</th>
<td *matCellDef="let element" class="px-2 text-nowrap" mat-cell>
{{ element?.name }}
<div class="text-truncate">
{{ element?.name }}
</div>
<div *ngIf="showSymbol">
<small class="text-muted">{{ element?.symbol }}</small>
</div>
</td>
</ng-container>

1
libs/ui/src/lib/benchmark/benchmark.component.ts

@ -63,6 +63,7 @@ export class GfBenchmarkComponent implements OnChanges, OnDestroy {
@Input() hasPermissionToDeleteItem: boolean;
@Input() locale = getLocale();
@Input() user: User;
@Input() showSymbol = true;
@Output() itemDeleted = new EventEmitter<AssetProfileIdentifier>();

Loading…
Cancel
Save