Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
6 additions and
5 deletions
-
CHANGELOG.md
-
apps/api/src/app/order/order.service.ts
-
libs/ui/src/lib/activities-table/activities-table.component.ts
-
package.json
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
@ -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, |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "ghostfolio", |
|
|
|
"version": "1.280.0", |
|
|
|
"version": "1.280.1", |
|
|
|
"homepage": "https://ghostfol.io", |
|
|
|
"license": "AGPL-3.0", |
|
|
|
"scripts": { |
|
|
|