From 1d68d217bd70ffbaac6f0108c07414dbbca8c98f Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Wed, 10 Apr 2024 09:35:25 +0300 Subject: [PATCH] code clean up --- .../description-base-fields-editor.component.ts | 6 ------ 1 file changed, 6 deletions(-) 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 {