Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/opening asset profile from watchlist (#7846)

Thomas Kaul0c2ebee8ac7f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5bdc636c9b..af0c7bfffd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `bull-board` from version `9.0.1` to `9.5.0`
- Upgraded `zod` from version `4.4.3` to `4.5.4`
+### Fixed
+
+- Resolved an issue when opening an asset profile from the watchlist
+
## 3.68.0 - 2026-09-06
### Added
diff --git a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts
index 8a7e131568..f46722921f 100644
--- a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts
+++ b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts
@@ -44,7 +44,7 @@ import { BenchmarkDetailDialogParams } from './interfaces/interfaces';
templateUrl: 'benchmark-detail-dialog.html'
})
export class GfBenchmarkDetailDialogComponent implements OnInit {
- public assetProfile: AdminMarketDataDetails['assetProfile'];
+ public assetProfile?: AdminMarketDataDetails['assetProfile'];
public historicalDataItems: LineChartItem[];
public isLoading = true;
public value: number;
diff --git a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
index 2f415d874c..2ab60b9d2d 100644
--- a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
+++ b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
@@ -1,7 +1,7 @@
<gf-dialog-header
position="center"
[deviceType]="data.deviceType"
- [title]="assetProfile.name ?? assetProfile.symbol ?? ''"
+ [title]="assetProfile?.name ?? assetProfile?.symbol ?? ''"
(closeButtonClicked)="onClose()"
/>