code clean up
This commit is contained in:
parent
29e0d032ca
commit
1d68d217bd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue