This commit is contained in:
Diamantis Tziotzios 2024-01-29 11:47:12 +02:00
parent ea6e2765ea
commit 37d349fa9b
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@
<div class="col-12 intro">
{{section.description}}
</div>
<div class="col-12 card" *ngIf="section.fields.length > 0">
<div class="col-12 card" *ngIf="section.fields?.length > 0">
<div class="row">
<div class="col-12">
<div *ngFor="let field of section.fields; let j=index">

View File

@ -158,7 +158,7 @@ export class DmpPropertiesEditorModel implements DmpPropertiesPersist {
dmpBlueprint.definition.sections.forEach(section => {
section.fields.forEach(field => {
section.fields?.forEach(field => {
this.dmpBlueprintValues.set(field.id, new DmpBlueprintValueEditorModel(this.validationErrorModel).fromModel(
{
fieldId: field.id,