ui fixes
This commit is contained in:
parent
ea6e2765ea
commit
37d349fa9b
|
@ -128,7 +128,7 @@
|
||||||
<div class="col-12 intro">
|
<div class="col-12 intro">
|
||||||
{{section.description}}
|
{{section.description}}
|
||||||
</div>
|
</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="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div *ngFor="let field of section.fields; let j=index">
|
<div *ngFor="let field of section.fields; let j=index">
|
||||||
|
|
|
@ -158,7 +158,7 @@ export class DmpPropertiesEditorModel implements DmpPropertiesPersist {
|
||||||
|
|
||||||
|
|
||||||
dmpBlueprint.definition.sections.forEach(section => {
|
dmpBlueprint.definition.sections.forEach(section => {
|
||||||
section.fields.forEach(field => {
|
section.fields?.forEach(field => {
|
||||||
this.dmpBlueprintValues.set(field.id, new DmpBlueprintValueEditorModel(this.validationErrorModel).fromModel(
|
this.dmpBlueprintValues.set(field.id, new DmpBlueprintValueEditorModel(this.validationErrorModel).fromModel(
|
||||||
{
|
{
|
||||||
fieldId: field.id,
|
fieldId: field.id,
|
||||||
|
|
Loading…
Reference in New Issue