Browse Source

Add return inside too

Artur Paikin 7 years ago
parent
commit
336413ce90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/Url/index.js

+ 1 - 1
src/plugins/Url/index.js

@@ -106,7 +106,7 @@ module.exports = class Url extends Plugin {
       }
 
       this.uppy.log('[Url] Adding remote file')
-      this.uppy.addFile(tagFile)
+      return this.uppy.addFile(tagFile)
         .then(() => {
           const dashboard = this.uppy.getPlugin('Dashboard')
           if (dashboard) dashboard.hideAllPanels()