Browse Source

Refactoring

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

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

@ -15,9 +15,11 @@
<div class="text-truncate"> <div class="text-truncate">
{{ element?.name }} {{ element?.name }}
</div> </div>
<div *ngIf="showSymbol"> @if (showSymbol) {
<div>
<small class="text-muted">{{ element?.symbol }}</small> <small class="text-muted">{{ element?.symbol }}</small>
</div> </div>
}
</td> </td>
</ng-container> </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() deviceType: string;
@Input() hasPermissionToDeleteItem: boolean; @Input() hasPermissionToDeleteItem: boolean;
@Input() locale = getLocale(); @Input() locale = getLocale();
@Input() user: User;
@Input() showSymbol = true; @Input() showSymbol = true;
@Input() user: User;
@Output() itemDeleted = new EventEmitter<AssetProfileIdentifier>(); @Output() itemDeleted = new EventEmitter<AssetProfileIdentifier>();

Loading…
Cancel
Save