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 00de84df9..317e49a50 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 @@ -53,12 +53,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 {