Skip to content

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

Bugfix/preserve asset profile when cloning activity (#7339)

Thomas Kaul9e4269fa3706
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5109c81540..426cbd8a71 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
+- Fixed an issue where the symbol was not selected when cloning an activity
- Resolved a startup error in data gathering caused by uninitialized data provider mappings
- Improved the error handling in the `HtmlTemplateMiddleware`
- Improved the error handling in the get quotes functionality of the _Financial Modeling Prep_ service
diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts
index 3d1c0ceeba..45653ff80b 100644
--- a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts
+++ b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts
@@ -409,7 +409,7 @@ export class GfActivitiesPageComponent implements OnInit {
activity: {
...aActivity,
accountId: aActivity?.accountId,
- assetProfile: null,
+ assetProfile: aActivity?.assetProfile ?? null,
date: new Date(),
id: null,
fee: 0,