Test frontend #only_compile
This commit is contained in:
@@ -70,8 +70,8 @@ async function uploadFileChangeHandler(event: Event) {
|
||||
const start = i * chunkSize
|
||||
const end = Math.min(file.size, start + chunkSize)
|
||||
const res = await sendChunk(file, start, end)
|
||||
console.log( 'progress: '+ (100*i) / numChunks )
|
||||
documentStore.updateUploadingDocuments( document.key, (100*i) / numChunks)
|
||||
console.log( 'progress: '+ (100*i + 1) / numChunks )
|
||||
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user