Skip to content

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

Feature/reload available tags after creating custom tag in holding detail dialog (#4328)

Thomas Kaulda79cf406f4b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96c90f4e7f..f5af20d2f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Reloaded the available tags after creating a custom tag in the holding detail dialog (experimental)
- Migrated the `@ghostfolio/client` components to control flow
- Migrated the `@ghostfolio/ui` components to control flow
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 69322b2162..25317e0c57 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
@@ -175,6 +175,9 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
]
});
}),
+ switchMap(() => {
+ return this.userService.get(true);
+ }),
takeUntil(this.unsubscribeSubject)
)
.subscribe();