mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +00:00
bug fix
This commit is contained in:
@@ -162,7 +162,7 @@ export class DsDynamicFormArrayComponent extends DynamicFormArrayComponent imple
|
|||||||
if (reorderable instanceof ReorderableFormFieldMetadataValue) {
|
if (reorderable instanceof ReorderableFormFieldMetadataValue) {
|
||||||
const reoMD = reorderable as ReorderableFormFieldMetadataValue;
|
const reoMD = reorderable as ReorderableFormFieldMetadataValue;
|
||||||
const mdl = Object.assign({}, reoMD.model, { value: reoMD.metadataValue });
|
const mdl = Object.assign({}, reoMD.model, { value: reoMD.metadataValue });
|
||||||
super.onChange({
|
this.onChange({
|
||||||
$event: { previousIndex: prevIndex },
|
$event: { previousIndex: prevIndex },
|
||||||
context: { index },
|
context: { index },
|
||||||
control: reoMD.control,
|
control: reoMD.control,
|
||||||
|
@@ -336,11 +336,8 @@ export class SubmissionObjectEffects {
|
|||||||
console.log(submissionId, sectionId, sectionData, sectionErrors);
|
console.log(submissionId, sectionId, sectionData, sectionErrors);
|
||||||
mappedActions.push(new UpdateSectionDataAction(submissionId, sectionId, sectionData, sectionErrors));
|
mappedActions.push(new UpdateSectionDataAction(submissionId, sectionId, sectionData, sectionErrors));
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return mappedActions;
|
return mappedActions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user