Browse Source

Bugfix/fix display of assets without currency in assistant and symbol autocomplete component (#7306)

* Fix display of assets without currency

* Update changelog
pull/7300/head^2
Thomas Kaul 2 days ago
committed by GitHub
parent
commit
c2706a6dba
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      CHANGELOG.md
  2. 5
      libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html
  3. 5
      libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html

7
CHANGELOG.md

@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Unreleased
### Fixed
- Fixed the display of assets without a currency in the search results of the assistant
- Fixed the display of assets without a currency in the symbol autocomplete component
## 3.24.0 - 2026-07-11 ## 3.24.0 - 2026-07-11
### Added ### Added

5
libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html

@ -8,7 +8,10 @@
@if (item && isAsset(item)) { @if (item && isAsset(item)) {
<br /> <br />
<small class="text-muted" <small class="text-muted"
>{{ item?.symbol ?? '' | gfSymbol }} · {{ item?.currency }} >{{ item?.symbol ?? '' | gfSymbol }}
@if (item.currency) {
· {{ item.currency }}
}
@if (item?.assetSubClassString) { @if (item?.assetSubClassString) {
· {{ item.assetSubClassString }} · {{ item.assetSubClassString }}
} }

5
libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html

@ -25,7 +25,10 @@
} }
</span> </span>
<small class="text-muted" <small class="text-muted"
>{{ lookupItem.symbol | gfSymbol }} · {{ lookupItem.currency }} >{{ lookupItem.symbol | gfSymbol }}
@if (lookupItem.currency) {
· {{ lookupItem.currency }}
}
@if (lookupItem.assetSubClass) { @if (lookupItem.assetSubClass) {
· {{ lookupItem.assetSubClassString }} · {{ lookupItem.assetSubClassString }}
} }

Loading…
Cancel
Save