kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix file size check on upload error retry
rodzic
04af329f78
commit
06ccd29d09
|
@ -219,7 +219,7 @@ class ProjectListItem extends React.Component {
|
|||
|
||||
try{
|
||||
if (file.status === "error"){
|
||||
if ((file.size / 1024) > this.dz.options.maxFilesize) {
|
||||
if ((file.size / 1024 / 1024) > this.dz.options.maxFilesize) {
|
||||
// Delete from upload queue
|
||||
this.setUploadState({
|
||||
totalCount: this.state.upload.totalCount - 1,
|
||||
|
|
Ładowanie…
Reference in New Issue