diff --git a/src/app/shared/publication/upload/upload-streaming.service.ts b/src/app/shared/publication/upload/upload-streaming.service.ts index e90625d5e..99698bb29 100644 --- a/src/app/shared/publication/upload/upload-streaming.service.ts +++ b/src/app/shared/publication/upload/upload-streaming.service.ts @@ -246,7 +246,7 @@ export class PublicationFormMV { result = await this.UploadFileUseCase.execute(PublicationAttachmentEntity) PublicationAttachmentEntity.chucksManager.clearUploading() - } while (attemp<3 && result.isErr() && result?.error == 'slow') + } while (attemp<3 && result.isErr() && result.error == 'slow') if(result.isErr()) { @@ -255,7 +255,7 @@ export class PublicationFormMV { } else { const guid = PublicationAttachmentEntity.chucksManager.path this.ObjectMergeNotification.subscribe(guid, (data) => { - PublicationAttachmentEntity + PublicationAttachmentEntity.chucksManager.contentSetReady() resolve(true) }) PublicationAttachmentEntity.chucksManager.doneChunkUpload()