code clean up

This commit is contained in:
Sofia Papacharalampous 2024-04-10 09:35:25 +03:00
parent 29e0d032ca
commit 1d68d217bd
1 changed files with 0 additions and 6 deletions

View File

@ -53,12 +53,6 @@ export class DescriptionBaseFieldsEditorComponent extends BaseComponent {
} else { } else {
this.availableDescriptionTemplates.push(this.description.descriptionTemplate); 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 { private openDeprecatedDescriptionTemplateDialog(): void {