Browse Source

Refactoring

pull/5530/head
Thomas Kaul 1 month ago
parent
commit
601f74a6bb
  1. 8
      libs/ui/src/lib/benchmark/benchmark.component.html
  2. 2
      libs/ui/src/lib/benchmark/benchmark.component.ts

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

@ -15,9 +15,11 @@
<div class="text-truncate">
{{ element?.name }}
</div>
<div *ngIf="showSymbol">
<small class="text-muted">{{ element?.symbol }}</small>
</div>
@if (showSymbol) {
<div>
<small class="text-muted">{{ element?.symbol }}</small>
</div>
}
</td>
</ng-container>

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

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

Loading…
Cancel
Save