diff --git a/CHANGELOG.md b/CHANGELOG.md index a86e8fd20..ad60933ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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.280.0 - 2023-06-10 +## 1.280.1 - 2023-06-10 ### Added diff --git a/apps/api/src/app/order/order.service.ts b/apps/api/src/app/order/order.service.ts index cc9718e7d..be5708a90 100644 --- a/apps/api/src/app/order/order.service.ts +++ b/apps/api/src/app/order/order.service.ts @@ -204,7 +204,7 @@ export class OrderService { where }); - if (order.type === 'ITEM') { + if (order.type === 'ITEM' || order.type === 'LIABILITY') { await this.symbolProfileService.deleteById(order.symbolProfileId); } @@ -375,7 +375,7 @@ export class OrderService { let isDraft = false; - if (data.type === 'ITEM') { + if (data.type === 'ITEM' || data.type === 'LIABILITY') { delete data.SymbolProfile.connect; } else { delete data.SymbolProfile.update; diff --git a/libs/ui/src/lib/activities-table/activities-table.component.ts b/libs/ui/src/lib/activities-table/activities-table.component.ts index 2797b035e..743747fb3 100644 --- a/libs/ui/src/lib/activities-table/activities-table.component.ts +++ b/libs/ui/src/lib/activities-table/activities-table.component.ts @@ -206,7 +206,8 @@ export class ActivitiesTableComponent implements OnChanges, OnDestroy, OnInit { } else if ( this.hasPermissionToOpenDetails && !activity.isDraft && - activity.type !== 'ITEM' + activity.type !== 'ITEM' && + activity.type !== 'LIABILITY' ) { this.onOpenPositionDialog({ dataSource: activity.SymbolProfile.dataSource, diff --git a/package.json b/package.json index 0a5462c1c..c328e2a1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.280.0", + "version": "1.280.1", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {