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
parent 9e8a9e4670
commit 4da8a547ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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/),
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
### Added

@ -120,7 +120,7 @@ export class CreateOrUpdateActivityDialog implements OnDestroy {
Validators.required
],
tags: [
this.data.activity?.tags.map(({ id, name }) => {
this.data.activity?.tags?.map(({ id, name }) => {
return {
id,
name: translate(name)

Loading…
Cancel
Save