Test frontend #only_compile

This commit is contained in:
2023-10-26 00:10:52 -05:00
parent 367e4ba0ea
commit 754d779069
4 changed files with 6 additions and 6 deletions

View File

@@ -70,9 +70,9 @@ 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 + 1) / numChunks )
console.log( 'progress: '+ ( ( 100 * (i + 1) ) / numChunks) )
console.log( 'Num Chunks: '+ numChunks )
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks)
documentStore.updateUploadingDocuments( document.key, ((100 * (i + 1) ) / numChunks))
}
}
}