Browse Source

restore: Also restore if there are uploads without files.

Renée Kooi 7 years ago
parent
commit
7171901b38
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/plugins/GoldenRetriever/index.js

+ 3 - 0
src/plugins/GoldenRetriever/index.js

@@ -205,6 +205,9 @@ module.exports = class GoldenRetriever extends Plugin {
         this.uppy.log('Attempting to load files from Indexed DB...')
         this.loadFileBlobsFromIndexedDB()
       }
+    } else {
+      this.core.log('No files need to be loaded, only restoring processing state...')
+      this.onBlobsLoaded([])
     }
 
     this.uppy.on('file-added', (file) => {