dataset description section id fix

This commit is contained in:
Diamantis Tziotzios 2022-02-04 16:08:22 +02:00
parent df609fd359
commit e9b0bcf102
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export class DatasetDescriptionSectionEditorModel extends BaseFormModel {
formGroup.addControl('description', new FormControl({ value: this.description, disabled: true })); formGroup.addControl('description', new FormControl({ value: this.description, disabled: true }));
formGroup.addControl('numbering', new FormControl({ value: this.numbering, disabled: true })); formGroup.addControl('numbering', new FormControl({ value: this.numbering, disabled: true }));
formGroup.addControl('title', new FormControl({ value: this.title, disabled: true })); formGroup.addControl('title', new FormControl({ value: this.title, disabled: true }));
formGroup.addControl('id', new FormControl({ value: this.title, disabled: false })); formGroup.addControl('id', new FormControl({ value: this.id, disabled: false }));
formGroup.addControl('ordinal', new FormControl({ value: this.ordinal, disabled: true })); formGroup.addControl('ordinal', new FormControl({ value: this.ordinal, disabled: true }));
return formGroup; return formGroup;
} }