diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.ts b/src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.ts index 5f341a52ac..72cde8573f 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.ts +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.ts @@ -162,7 +162,7 @@ export class DsDynamicFormArrayComponent extends DynamicFormArrayComponent imple if (reorderable instanceof ReorderableFormFieldMetadataValue) { const reoMD = reorderable as ReorderableFormFieldMetadataValue; const mdl = Object.assign({}, reoMD.model, { value: reoMD.metadataValue }); - super.onChange({ + this.onChange({ $event: { previousIndex: prevIndex }, context: { index }, control: reoMD.control, diff --git a/src/app/submission/objects/submission-objects.effects.ts b/src/app/submission/objects/submission-objects.effects.ts index 357d07bd9a..06920fb996 100644 --- a/src/app/submission/objects/submission-objects.effects.ts +++ b/src/app/submission/objects/submission-objects.effects.ts @@ -336,11 +336,8 @@ export class SubmissionObjectEffects { console.log(submissionId, sectionId, sectionData, sectionErrors); mappedActions.push(new UpdateSectionDataAction(submissionId, sectionId, sectionData, sectionErrors)); } - }); - } - return mappedActions; }