From e370eea5adaed1048d6ef90b54f2aaff622a3717 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 9 Sep 2026 21:00:37 +0200 Subject: [PATCH] Add holdings --- .../home-overview/home-overview.component.ts | 3 ++ .../home-overview/home-overview.html | 30 ++++++++++++------- .../home-overview/home-overview.scss | 17 +++++++++-- 3 files changed, 37 insertions(+), 13 deletions(-) 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 09ec38aa42..01039eb71e 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 @@ -33,6 +33,7 @@ import { } from '@angular/core'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; +import { MatCardModule } from '@angular/material/card'; import { Router, RouterModule } from '@angular/router'; import { DeviceDetectorService } from 'ngx-device-detector'; @@ -43,6 +44,7 @@ import { DeviceDetectorService } from 'ngx-device-detector'; GfLineChartComponent, GfPortfolioPerformanceComponent, MatButtonModule, + MatCardModule, RouterModule ], selector: 'gf-home-overview', @@ -152,6 +154,7 @@ export class GfHomeOverviewComponent implements OnInit { this.dataService .fetchPortfolioHoldings({ + filters: [{ id: 'ACTIVE', type: 'HOLDING_TYPE' }], range: this.user()?.settings?.dateRange }) .pipe(takeUntilDestroyed(this.destroyRef)) 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 7f64c0e3cb..824ffd1158 100644 --- a/apps/client/src/app/components/home-overview/home-overview.html +++ b/apps/client/src/app/components/home-overview/home-overview.html @@ -1,5 +1,5 @@