document.querySelector() can return null if the elements are not yet in the DOM. Dereferencing null would throw inside the axios onUploadProgress callback, which is caught by UploadChunk's catch and re-thrown as a string - causing the whole upload to fail silently with an undefined message. |
||
|---|---|---|
| .. | ||
| Chunk.ts | ||
| ChunkUploader.razor | ||
| ChunkUploader.razor.scss | ||
| ChunkUploader.ts | ||
| UploadInitRequest.ts | ||
| UploadInitResponse.ts | ||