From b52765594671d15034fb89cc4ce46687ccfd5c9a Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 30 Oct 2025 20:30:19 +0100 Subject: [PATCH] Refactoring --- .../holding-detail-dialog.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts index 0c7afb2ac..b443a37e7 100644 --- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts +++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts @@ -181,15 +181,15 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { } public ngOnInit() { - this.holdingForm = this.formBuilder.group({ - tags: [] as string[] - }); - const filters: Filter[] = [ { id: this.data.dataSource, type: 'DATA_SOURCE' }, { id: this.data.symbol, type: 'SYMBOL' } ]; + this.holdingForm = this.formBuilder.group({ + tags: [] as string[] + }); + this.holdingForm .get('tags') .valueChanges.pipe(takeUntil(this.unsubscribeSubject))