diff --git a/CHANGELOG.md b/CHANGELOG.md index 1311c54ce..a86e8fd20 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). -## Unreleased +## 1.280.0 - 2023-06-10 ### Added diff --git a/apps/api/src/app/import/import.service.ts b/apps/api/src/app/import/import.service.ts index 3b45e3422..65611ce0d 100644 --- a/apps/api/src/app/import/import.service.ts +++ b/apps/api/src/app/import/import.service.ts @@ -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 = diff --git a/apps/client/src/app/services/import-activities.service.ts b/apps/client/src/app/services/import-activities.service.ts index 8e4d93342..02eeb7e03 100644 --- a/apps/client/src/app/services/import-activities.service.ts +++ b/apps/client/src/app/services/import-activities.service.ts @@ -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: diff --git a/package.json b/package.json index 3b19d5fd4..0a5462c1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.279.0", + "version": "1.280.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {