mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
working on fixes for OrgUnit field in submission
This commit is contained in:
@@ -14,6 +14,7 @@ import { UploaderOptions } from '../../shared/uploader/uploader-options.model';
|
||||
import { SubmissionObjectEntry } from '../objects/submission-objects.reducer';
|
||||
import { SectionDataObject } from '../sections/models/section-data.model';
|
||||
import { SubmissionService } from '../submission.service';
|
||||
import { Item } from '../../core/shared/item.model';
|
||||
|
||||
/**
|
||||
* This component represents the submission form.
|
||||
@@ -30,6 +31,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
|
||||
* @type {string}
|
||||
*/
|
||||
@Input() collectionId: string;
|
||||
@Input() item: Item;
|
||||
|
||||
/**
|
||||
* The list of submission's sections
|
||||
@@ -150,6 +152,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
|
||||
this.selfUrl,
|
||||
this.submissionDefinition,
|
||||
this.sections,
|
||||
this.item,
|
||||
null);
|
||||
this.changeDetectorRef.detectChanges();
|
||||
})
|
||||
@@ -191,7 +194,8 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
|
||||
this.submissionId,
|
||||
submissionObject._links.self.href,
|
||||
this.submissionDefinition,
|
||||
this.sections);
|
||||
this.sections,
|
||||
this.item);
|
||||
} else {
|
||||
this.changeDetectorRef.detectChanges();
|
||||
}
|
||||
|
Reference in New Issue
Block a user