mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 03:53:02 +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
|
* Initialize all instance variables and retrieve form configuration
|
||||||
*/
|
*/
|
||||||
ngOnChanges(changes: SimpleChanges) {
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
if (this.collectionId && this.submissionId) {
|
if ((changes.collectionId && this.collectionId) && (changes.submissionId && this.submissionId)) {
|
||||||
this.isActive = true;
|
this.isActive = true;
|
||||||
|
|
||||||
// retrieve submission's section list
|
// retrieve submission's section list
|
||||||
|
Reference in New Issue
Block a user