From be7b9f3875e201822cda1b4eaafafd16a5d5bb3c Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 15 Feb 2024 23:44:57 +0100 Subject: [PATCH] add done mergin --- src/app/shared/publication/upload/upload-streaming.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()