From c90142fae92cc5bf1615e3b85383897c88797ffd Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sat, 25 Jul 2026 14:52:02 +0200
Subject: [PATCH] Bugfix/links to open create activity dialog (#7418)
* Fix links to open create activity dialog
* Update changelog
---
CHANGELOG.md | 2 ++
.../app/components/home-overview/home-overview.component.ts | 2 ++
.../src/app/components/home-overview/home-overview.html | 2 +-
.../no-transactions-info/no-transactions-info.component.html | 3 +--
.../no-transactions-info/no-transactions-info.component.ts | 4 ++--
5 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fac434a42..1da7d38ec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
+- Fixed the _Add activity_ link of the onboarding on the overview tab of the home page to open the create activity dialog
+- Fixed the link of the no transactions info component to open the create activity dialog
- Resolved an exception in the `POST api/v1/activities` endpoint when creating an activity with the update account balance option but without an account
## 3.33.0 - 2026-07-25
diff --git a/apps/client/src/app/components/home-overview/home-overview.component.ts b/apps/client/src/app/components/home-overview/home-overview.component.ts
index ad3556536..24d582ff8 100644
--- a/apps/client/src/app/components/home-overview/home-overview.component.ts
+++ b/apps/client/src/app/components/home-overview/home-overview.component.ts
@@ -58,6 +58,8 @@ export class GfHomeOverviewComponent implements OnInit {
protected readonly routerLinkPortfolio = internalRoutes.portfolio.routerLink;
protected readonly routerLinkPortfolioActivities =
internalRoutes.portfolio.subRoutes.activities.routerLink;
+ protected readonly routerLinkPortfolioActivitiesCreate =
+ internalRoutes.portfolio.subRoutes.activities.subRoutes.create.routerLink;
protected readonly deviceType = computed(
() => this.deviceDetectorService.deviceInfo().deviceType
diff --git a/apps/client/src/app/components/home-overview/home-overview.html b/apps/client/src/app/components/home-overview/home-overview.html
index 0ca4912b9..90a628a17 100644
--- a/apps/client/src/app/components/home-overview/home-overview.html
+++ b/apps/client/src/app/components/home-overview/home-overview.html
@@ -52,7 +52,7 @@
Add activity
diff --git a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.html b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.html
index f1a2a3f90..3c7f9fd10 100644
--- a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.html
+++ b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.html
@@ -6,8 +6,7 @@
class="align-items-center justify-content-center"
color="primary"
mat-button
- [queryParams]="{ createDialog: true }"
- [routerLink]="routerLinkPortfolioActivities"
+ [routerLink]="routerLinkPortfolioActivitiesCreate"
>
Time to add your first activity.
diff --git a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts
index 8691dc998..d23aa4368 100644
--- a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts
+++ b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts
@@ -23,6 +23,6 @@ import { GfLogoComponent } from '../logo';
export class GfNoTransactionsInfoComponent {
@HostBinding('class.has-border') @Input() hasBorder = true;
- public routerLinkPortfolioActivities =
- internalRoutes.portfolio.subRoutes.activities.routerLink;
+ public routerLinkPortfolioActivitiesCreate =
+ internalRoutes.portfolio.subRoutes.activities.subRoutes.create.routerLink;
}