Browse Source
Bugfix/fix create activity dialog caused by missing tags (#1606)
* Add guard
* Update changelog
pull/1607/head^2
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
|
@ -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/), |
|
|
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). |
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
|
|
- Fixed the create or edit activity dialog |
|
|
|
|
|
|
|
|
## 1.227.0 - 2023-01-14 |
|
|
## 1.227.0 - 2023-01-14 |
|
|
|
|
|
|
|
|
### Added |
|
|
### Added |
|
|
|
@ -120,7 +120,7 @@ export class CreateOrUpdateActivityDialog implements OnDestroy { |
|
|
Validators.required |
|
|
Validators.required |
|
|
], |
|
|
], |
|
|
tags: [ |
|
|
tags: [ |
|
|
this.data.activity?.tags.map(({ id, name }) => { |
|
|
this.data.activity?.tags?.map(({ id, name }) => { |
|
|
return { |
|
|
return { |
|
|
id, |
|
|
id, |
|
|
name: translate(name) |
|
|
name: translate(name) |
|
|