diff --git a/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.ts b/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.ts index 23f133dba..c5a76d3b0 100644 --- a/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.ts +++ b/dmp-frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.ts @@ -57,12 +57,6 @@ export class DescriptionBaseFieldsEditorComponent extends BaseComponent { } else { this.availableDescriptionTemplates.push(this.description.descriptionTemplate); } - - - // const dmpDescriptionTemplates: DmpDescriptionTemplate[] = this.description.dmp.dmpDescriptionTemplates.filter(x => x.sectionId == this.description.dmpDescriptionTemplate.sectionId && x.isActive == IsActive.Active); - // // const currentVersionsOfDescriptionTemplates = dmpDescriptionTemplates.map(x => x.currentDescriptionTemplate); - // //Check if the used tempalte in included in the current list. If not add it. - // this.availableDescriptionTemplates.push(...currentVersionsOfDescriptionTemplates); } private openDeprecatedDescriptionTemplateDialog(): void {