Browse Source
Feature/add symbol to benchmark component (#5530)
* Add symbol to benchmark component
* Update changelog
main
Batwam
15 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
12 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/home-market/home-market.html
-
apps/client/src/app/components/markets/markets.html
-
libs/ui/src/lib/benchmark/benchmark.component.html
-
libs/ui/src/lib/benchmark/benchmark.component.ts
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Added the symbol to the benchmark component |
|
|
|
- Added an option to configure the account column of the activities table component |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
@ -34,6 +34,7 @@ |
|
|
|
[benchmarks]="benchmarks" |
|
|
|
[deviceType]="deviceType" |
|
|
|
[locale]="user?.settings?.locale || undefined" |
|
|
|
[showSymbol]="false" |
|
|
|
[user]="user" |
|
|
|
/> |
|
|
|
@if (benchmarks?.length > 0) { |
|
|
|
|
|
@ -43,6 +43,7 @@ |
|
|
|
[benchmarks]="benchmarks" |
|
|
|
[deviceType]="deviceType" |
|
|
|
[locale]="user?.settings?.locale || undefined" |
|
|
|
[showSymbol]="false" |
|
|
|
[user]="user" |
|
|
|
/> |
|
|
|
@if (benchmarks?.length > 0) { |
|
|
|
|
|
@ -12,7 +12,14 @@ |
|
|
|
Name |
|
|
|
</th> |
|
|
|
<td *matCellDef="let element" class="px-2 text-nowrap" mat-cell> |
|
|
|
{{ element?.name }} |
|
|
|
<div class="text-truncate"> |
|
|
|
{{ element?.name }} |
|
|
|
</div> |
|
|
|
@if (showSymbol) { |
|
|
|
<div> |
|
|
|
<small class="text-muted">{{ element?.symbol }}</small> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
@ -62,6 +62,7 @@ export class GfBenchmarkComponent implements OnChanges, OnDestroy { |
|
|
|
@Input() deviceType: string; |
|
|
|
@Input() hasPermissionToDeleteItem: boolean; |
|
|
|
@Input() locale = getLocale(); |
|
|
|
@Input() showSymbol = true; |
|
|
|
@Input() user: User; |
|
|
|
|
|
|
|
@Output() itemDeleted = new EventEmitter<AssetProfileIdentifier>(); |
|
|
|