Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
abd4f0e5e2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue