mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
Fix issue where uploaded files disappear
This commit is contained in:
@@ -122,7 +122,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
|
||||
* Initialize all instance variables and retrieve form configuration
|
||||
*/
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
if (this.collectionId && this.submissionId) {
|
||||
if ((changes.collectionId && this.collectionId) && (changes.submissionId && this.submissionId)) {
|
||||
this.isActive = true;
|
||||
|
||||
// retrieve submission's section list
|
||||
|
Reference in New Issue
Block a user