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
5 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/app/import/import.service.ts
-
apps/client/src/app/services/import-activities.service.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). |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
## 1.280.0 - 2023-06-10 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
|
|
@ -202,7 +202,7 @@ export class ImportService { |
|
|
|
|
|
|
|
for (const activity of activitiesDto) { |
|
|
|
if (!activity.dataSource) { |
|
|
|
if (activity.type === 'ITEM') { |
|
|
|
if (activity.type === 'ITEM' || activity.type === 'LIABILITY') { |
|
|
|
activity.dataSource = DataSource.MANUAL; |
|
|
|
} else { |
|
|
|
activity.dataSource = |
|
|
|
|
|
@ -342,6 +342,8 @@ export class ImportActivitiesService { |
|
|
|
return Type.DIVIDEND; |
|
|
|
case 'item': |
|
|
|
return Type.ITEM; |
|
|
|
case 'liability': |
|
|
|
return Type.LIABILITY; |
|
|
|
case 'sell': |
|
|
|
return Type.SELL; |
|
|
|
default: |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "ghostfolio", |
|
|
|
"version": "1.279.0", |
|
|
|
"version": "1.280.0", |
|
|
|
"homepage": "https://ghostfol.io", |
|
|
|
"license": "AGPL-3.0", |
|
|
|
"scripts": { |
|
|
|