mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
[CST-3782] restored submission save after openLookup
This commit is contained in:
@@ -37,7 +37,6 @@ import {
|
|||||||
DynamicFormControl,
|
DynamicFormControl,
|
||||||
DynamicFormControlContainerComponent,
|
DynamicFormControlContainerComponent,
|
||||||
DynamicFormControlEvent,
|
DynamicFormControlEvent,
|
||||||
DynamicFormControlEventType,
|
|
||||||
DynamicFormControlModel,
|
DynamicFormControlModel,
|
||||||
DynamicFormLayout,
|
DynamicFormLayout,
|
||||||
DynamicFormLayoutService,
|
DynamicFormLayoutService,
|
||||||
@@ -395,6 +394,10 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
|
|||||||
size: 'lg'
|
size: 'lg'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (hasValue(this.model.value)) {
|
||||||
|
this.submissionService.dispatchSave(this.model.submissionId);
|
||||||
|
}
|
||||||
|
|
||||||
const modalComp = this.modalRef.componentInstance;
|
const modalComp = this.modalRef.componentInstance;
|
||||||
|
|
||||||
if (hasValue(this.model.value) && !this.model.readOnly) {
|
if (hasValue(this.model.value) && !this.model.readOnly) {
|
||||||
|
Reference in New Issue
Block a user