Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript ๐Ÿค

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

Thomas Kaulc2706a6dba77
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4210b2ddd5..d2a5d24e2f 100644
--- a/CHANGELOG.md
+++ b/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/),
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
### Added
diff --git a/libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html b/libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html
index 36179b7197..fa30d0c038 100644
--- a/libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html
+++ b/libs/ui/src/lib/assistant/assistant-list-item/assistant-list-item.html
@@ -8,7 +8,10 @@
@if (item && isAsset(item)) {
<br />
<small class="text-muted"
- >{{ item?.symbol ?? '' | gfSymbol }} ยท {{ item?.currency }}
+ >{{ item?.symbol ?? '' | gfSymbol }}
+ @if (item.currency) {
+ ยท {{ item.currency }}
+ }
@if (item?.assetSubClassString) {
ยท {{ item.assetSubClassString }}
}
diff --git a/libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html b/libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html
index 456cd99406..12867662bb 100644
--- a/libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html
+++ b/libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.html
@@ -25,7 +25,10 @@
}
</span>
<small class="text-muted"
- >{{ lookupItem.symbol | gfSymbol }} ยท {{ lookupItem.currency }}
+ >{{ lookupItem.symbol | gfSymbol }}
+ @if (lookupItem.currency) {
+ ยท {{ lookupItem.currency }}
+ }
@if (lookupItem.assetSubClass) {
ยท {{ lookupItem.assetSubClassString }}
}