From dcc7ef89fe1141a420b674bcf391c5a4935406b7 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 10 Feb 2022 11:16:25 +0100 Subject: [PATCH] Release/1.114.1 (#689) * Fix creation of wealth items * Release 1.114.1 --- CHANGELOG.md | 6 ++++++ .../create-or-update-transaction-dialog.component.ts | 8 +++++--- package.json | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8bfe0a3..ccd6e9aa 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 05c02bcb..40c38bb9 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 789eb8cd..045d1444 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": {