Skip to content
Snippets Groups Projects
Commit 65e42d0d authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: upload archive feature

parent 673c91f4
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,7 @@ export class DepositFileRoutable extends SharedAbstractDetailEditRoutable<Deposi
this.subscribe(dialogRef.afterClosed().pipe(
filter((fileUploadWrapper: FileUploadWrapper) => !isNullOrUndefined(fileUploadWrapper)),
tap((fileUploadWrapper: FileUploadWrapper) => {
this.upload(fileUploadWrapper);
this.uploadArchive(fileUploadWrapper);
}),
));
}
......@@ -418,7 +418,9 @@ export class DepositFileRoutable extends SharedAbstractDetailEditRoutable<Deposi
if (!result.result.successful) {
return;
}
this.dialogDataFileRef.close();
if (this.dialogDataFileRef) {
this.dialogDataFileRef.close();
}
}),
));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment