diff --git a/CHANGELOG.md b/CHANGELOG.md index c8bfe0a3b..ccd6e9aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.114.1 - 10.02.2022 + +### Fixed + +- Fixed the creation of (wealth) items + ## 1.114.0 - 10.02.2022 ### Added diff --git a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts index 05c02bcb4..40c38bb95 100644 --- a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts +++ b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts @@ -216,9 +216,11 @@ export class CreateOrUpdateTransactionDialog implements OnDestroy { dataSource: this.activityForm.controls['dataSource'].value, fee: this.activityForm.controls['fee'].value, quantity: this.activityForm.controls['quantity'].value, - symbol: isUUID(this.activityForm.controls['searchSymbol'].value.symbol) - ? this.activityForm.controls['name'].value - : this.activityForm.controls['searchSymbol'].value.symbol, + 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, type: this.activityForm.controls['type'].value, unitPrice: this.activityForm.controls['unitPrice'].value }; diff --git a/package.json b/package.json index 789eb8cd2..045d14443 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.114.0", + "version": "1.114.1", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {