Test frontend #only_compile

This commit is contained in:
Andy-Ruda 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 start = i * chunkSize
const end = Math.min(file.size, start + chunkSize) const end = Math.min(file.size, start + chunkSize)
const res = await sendChunk(file, start, end) 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 ) console.log( 'Num Chunks: '+ numChunks )
documentStore.updateUploadingDocuments( document.key, (100*i + 1) / numChunks) documentStore.updateUploadingDocuments( document.key, ((100 * (i + 1) ) / numChunks))
} }
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Vite Vasanko</title> <title>Vite Vasanko</title>
<script type="module" crossorigin src="/assets/index-396ce413.js"></script> <script type="module" crossorigin src="/assets/index-5620eb6e.js"></script>
<link rel="stylesheet" href="/assets/index-adcd8284.css"> <link rel="stylesheet" href="/assets/index-fe1bb208.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>