Test frontend #only_compile

This commit is contained in:
Andy-Ruda 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 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) / numChunks ) console.log( 'progress: '+ (100*i + 1) / numChunks )
documentStore.updateUploadingDocuments( document.key, (100*i) / 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-f8f7d0f2.js"></script> <script type="module" crossorigin src="/assets/index-e281e228.js"></script>
<link rel="stylesheet" href="/assets/index-d58328ce.css"> <link rel="stylesheet" href="/assets/index-d2b8dc8e.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>