This commit is contained in:
Thomas Kaul
2024-01-21 11:14:44 +01:00
committed by GitHub
parent 5ba5b86d5f
commit f2803aecbc

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 };
}) ?? []
),