mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-30 05:23:05 +00:00
remove 0 file warning
This commit is contained in:
parent
4a2a5abc93
commit
be0ec9a15e
1 changed files with 0 additions and 4 deletions
|
|
@ -947,10 +947,6 @@ class Uppy {
|
|||
this.log('No uploader type plugins are used', 'warning')
|
||||
}
|
||||
|
||||
if (Object.keys(this.state.files).length === 0) {
|
||||
this.log('No files have been added', 'warning')
|
||||
}
|
||||
|
||||
const isMinNumberOfFilesReached = this.checkMinNumberOfFiles()
|
||||
if (!isMinNumberOfFilesReached) {
|
||||
return Promise.reject(new Error('Minimum number of files has not been reached'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue