This commit is contained in:
Thomas Kaul 2024-01-21 11:14:44 +01:00 committed by GitHub
parent 5ba5b86d5f
commit f2803aecbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
assetSubClass: this.assetProfile.assetSubClass ?? null,
comment: this.assetProfile?.comment ?? '',
countries: JSON.stringify(
this.assetProfile?.countries.map(({ code, weight }) => {
this.assetProfile?.countries?.map(({ code, weight }) => {
return { code, weight };
}) ?? []
),