Bugfix/fix create activity dialog caused by missing tags (#1606)
* Add guard * Update changelog
This commit is contained in:
parent
9e8a9e4670
commit
4da8a547ca
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user