Test frontend #only_compile

This commit is contained in:
2023-10-26 00:06:45 -05:00
parent 6cdc37a172
commit c2e9a4af05
4 changed files with 6 additions and 6 deletions

View File

@@ -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)
}
}
}