Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring

This commit is contained in:
Diamantis Tziotzios 2024-04-10 10:04:23 +03:00
commit abd4f0e5e2
1 changed files with 0 additions and 6 deletions

View File

@ -57,12 +57,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 {