Browse Source

disable symbol for markets views

pull/5530/head
Batwam 1 day ago
parent
commit
9c931844f2
No known key found for this signature in database GPG Key ID: 7D9EDF6264938D38
  1. 1
      apps/client/src/app/components/home-market/home-market.html
  2. 1
      apps/client/src/app/components/markets/markets.html
  3. 4
      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" [benchmarks]="benchmarks"
[deviceType]="deviceType" [deviceType]="deviceType"
[locale]="user?.settings?.locale || undefined" [locale]="user?.settings?.locale || undefined"
[showSymbol]="false"
[user]="user" [user]="user"
/> />
@if (benchmarks?.length > 0) { @if (benchmarks?.length > 0) {

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

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

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

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

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

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

Loading…
Cancel
Save