diff --git a/CHANGELOG.md b/CHANGELOG.md index 39c7a342f..74d8c91b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Refactored the blog articles to standalone components +## 1.286.0 - 2023-07-03 + +### Fixed + +- Fixed the creation of (wealth) items and liabilities + ## 1.285.0 - 2023-07-01 ### Added diff --git a/apps/client/src/app/pages/blog/2023/07/exploring-the-path-to-fire/exploring-the-path-to-fire-page.html b/apps/client/src/app/pages/blog/2023/07/exploring-the-path-to-fire/exploring-the-path-to-fire-page.html index ca8ccdc8c..8b3359b0b 100644 --- a/apps/client/src/app/pages/blog/2023/07/exploring-the-path-to-fire/exploring-the-path-to-fire-page.html +++ b/apps/client/src/app/pages/blog/2023/07/exploring-the-path-to-fire/exploring-the-path-to-fire-page.html @@ -79,7 +79,7 @@ FIRE grants individuals a higher level of autonomy and empowerment over their schedules and the activities they choose to pursue. Whether it involves exploring new career paths, starting a business, - or embarking on extensive travel, FIRE provides the flexibility to + or undertaking adventurous travels, FIRE provides the flexibility to determine how time is spent and how life is shaped.
@@ -127,8 +127,8 @@ understanding of the advantages and disadvantages.
- Knowing your financial situation and tracking it diligently is vital
- on your journey to FIRE. This is where the power of
+ Knowing your financial situation and consistently monitoring it is
+ vital on your journey to FIRE. This is where the strength of
Ghostfolio, a comprehensive open
source wealth management software, comes into play. By leveraging
Ghostfolio, you can gain deep insights into your financial health,
diff --git a/apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts b/apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
index 6962d4d40..abf8fb310 100644
--- a/apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
+++ b/apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
@@ -241,7 +241,11 @@ export class CreateOrUpdateActivityDialog implements OnDestroy {
this.activityForm.controls['searchSymbol'].valueChanges.subscribe(() => {
if (this.activityForm.controls['searchSymbol'].invalid) {
this.data.activity.SymbolProfile = null;
- } else {
+ } else if (
+ ['BUY', 'DIVIDEND', 'SELL'].includes(
+ this.activityForm.controls['type'].value
+ )
+ ) {
this.activityForm.controls['dataSource'].setValue(
this.activityForm.controls['searchSymbol'].value.dataSource
);
@@ -408,8 +412,9 @@ export class CreateOrUpdateActivityDialog implements OnDestroy {
fee: this.activityForm.controls['fee'].value,
quantity: this.activityForm.controls['quantity'].value,
symbol:
- this.activityForm.controls['searchSymbol'].value.symbol === undefined ||
- isUUID(this.activityForm.controls['searchSymbol'].value.symbol)
+ this.activityForm.controls['searchSymbol'].value?.symbol ===
+ undefined ||
+ isUUID(this.activityForm.controls['searchSymbol'].value?.symbol)
? this.activityForm.controls['name'].value
: this.activityForm.controls['searchSymbol'].value.symbol,
tags: this.activityForm.controls['tags'].value,
diff --git a/libs/ui/src/lib/symbol-autocomplete/abstract-mat-form-field.ts b/libs/ui/src/lib/symbol-autocomplete/abstract-mat-form-field.ts
index b0ce3dc9b..38198daea 100644
--- a/libs/ui/src/lib/symbol-autocomplete/abstract-mat-form-field.ts
+++ b/libs/ui/src/lib/symbol-autocomplete/abstract-mat-form-field.ts
@@ -9,7 +9,7 @@ import {
Input,
OnDestroy
} from '@angular/core';
-import { ControlValueAccessor, NgControl } from '@angular/forms';
+import { ControlValueAccessor, NgControl, Validators } from '@angular/forms';
import { MatFormFieldControl } from '@angular/material/form-field';
import { Subject } from 'rxjs';
@@ -96,7 +96,10 @@ export abstract class AbstractMatFormField