mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
add done mergin
This commit is contained in:
@@ -246,7 +246,7 @@ export class PublicationFormMV {
|
|||||||
result = await this.UploadFileUseCase.execute(PublicationAttachmentEntity)
|
result = await this.UploadFileUseCase.execute(PublicationAttachmentEntity)
|
||||||
PublicationAttachmentEntity.chucksManager.clearUploading()
|
PublicationAttachmentEntity.chucksManager.clearUploading()
|
||||||
|
|
||||||
} while (attemp<3 && result.isErr() && result?.error == 'slow')
|
} while (attemp<3 && result.isErr() && result.error == 'slow')
|
||||||
|
|
||||||
|
|
||||||
if(result.isErr()) {
|
if(result.isErr()) {
|
||||||
@@ -255,7 +255,7 @@ export class PublicationFormMV {
|
|||||||
} else {
|
} else {
|
||||||
const guid = PublicationAttachmentEntity.chucksManager.path
|
const guid = PublicationAttachmentEntity.chucksManager.path
|
||||||
this.ObjectMergeNotification.subscribe(guid, (data) => {
|
this.ObjectMergeNotification.subscribe(guid, (data) => {
|
||||||
PublicationAttachmentEntity
|
PublicationAttachmentEntity.chucksManager.contentSetReady()
|
||||||
resolve(true)
|
resolve(true)
|
||||||
})
|
})
|
||||||
PublicationAttachmentEntity.chucksManager.doneChunkUpload()
|
PublicationAttachmentEntity.chucksManager.doneChunkUpload()
|
||||||
|
|||||||
Reference in New Issue
Block a user