Browse Source

Task/extend account selector options to include platform and currency (#7683)

* Extend options to include platform and currency

* Update changelog
pull/7679/head^2
Thomas Kaul 1 week ago
committed by GitHub
parent
commit
acdcb6aa7d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 11
      libs/ui/src/lib/account-selector/account-selector.component.html

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Extended the account selector options to include the platform and currency
- Upgraded `yahoo-finance2` from version `4.0.0` to `4.0.2` - Upgraded `yahoo-finance2` from version `4.0.0` to `4.0.2`
## 3.56.0 - 2026-08-20 ## 3.56.0 - 2026-08-20

11
libs/ui/src/lib/account-selector/account-selector.component.html

@ -30,14 +30,23 @@
@for (account of sortedAccounts(); track account.id) { @for (account of sortedAccounts(); track account.id) {
<mat-option [value]="account.id"> <mat-option [value]="account.id">
<div class="d-flex"> <div class="align-items-center d-flex">
<gf-entity-logo <gf-entity-logo
class="mr-1" class="mr-1"
[hasPlaceholder]="true" [hasPlaceholder]="true"
[tooltip]="account.platform?.name ?? ''" [tooltip]="account.platform?.name ?? ''"
[url]="account.platform?.url ?? ''" [url]="account.platform?.url ?? ''"
/> />
<div class="line-height-1">
<span>{{ account.name }}</span> <span>{{ account.name }}</span>
<br />
<small class="text-muted">
@if (account.platform?.name) {
{{ account.platform?.name }} ·
}
{{ account.currency }}</small
>
</div>
</div> </div>
</mat-option> </mat-option>
} }

Loading…
Cancel
Save