Browse Source

Extend options to include platform and currency

pull/7683/head
Thomas Kaul 1 week ago
parent
commit
7c83ecb02d
  1. 13
      libs/ui/src/lib/account-selector/account-selector.component.html

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

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

Loading…
Cancel
Save