From 9e4269fa3706a8ad9d4495c4906626fa05958e36 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 15 Jul 2026 18:57:30 +0200 Subject: [PATCH] Bugfix/preserve asset profile when cloning activity (#7339) * Preserve asset profile when cloning activity * Update changelog --- CHANGELOG.md | 1 + .../app/pages/portfolio/activities/activities-page.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5109c8154..426cbd8a7 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 3d1c0ceeb..45653ff80 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,