@uppy/dashboard
Advanced tools
Comparing version 1.12.10 to 1.13.0
@@ -14,3 +14,3 @@ var _require = require('preact'), | ||
if (!uploadInProgressOrComplete && metaFields && metaFields.length > 0 || canEditFile(file)) { | ||
if (!uploadInProgressOrComplete && metaFields && metaFields.length > 0 || !uploadInProgressOrComplete && canEditFile(file)) { | ||
return h("button", { | ||
@@ -17,0 +17,0 @@ class: "uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit", |
@@ -960,3 +960,4 @@ var _class, _temp; | ||
hideAfterFinish: _this.opts.hideProgressAfterFinish, | ||
locale: _this.opts.locale | ||
locale: _this.opts.locale, | ||
doneButtonHandler: _this.opts.doneButtonHandler | ||
}); | ||
@@ -1118,2 +1119,7 @@ } | ||
hideProgressAfterFinish: false, | ||
doneButtonHandler: function doneButtonHandler() { | ||
_this.uppy.reset(); | ||
_this.requestCloseModal(); | ||
}, | ||
note: null, | ||
@@ -1151,2 +1157,2 @@ closeModalOnClickOutside: false, | ||
return Dashboard; | ||
}(Plugin), _class.VERSION = "1.12.10", _temp); | ||
}(Plugin), _class.VERSION = "1.13.0", _temp); |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "1.12.10", | ||
"version": "1.13.0", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
"@uppy/provider-views": "^1.9.0", | ||
"@uppy/status-bar": "^1.7.8", | ||
"@uppy/status-bar": "^1.8.0", | ||
"@uppy/thumbnail-generator": "^1.7.1", | ||
@@ -44,3 +44,3 @@ "@uppy/utils": "^3.2.5", | ||
}, | ||
"gitHead": "3ff9ab042f3d22c8efd528de91b4179b0cc4b909" | ||
"gitHead": "68a23d9ff15391190d0b46f3100df1c8cf9a3ed6" | ||
} |
@@ -12,5 +12,6 @@ const { h } = require('preact') | ||
}) { | ||
if ((!uploadInProgressOrComplete && | ||
metaFields && | ||
metaFields.length > 0) || canEditFile(file)) { | ||
if ( | ||
(!uploadInProgressOrComplete && metaFields && metaFields.length > 0) || | ||
(!uploadInProgressOrComplete && canEditFile(file)) | ||
) { | ||
return ( | ||
@@ -17,0 +18,0 @@ <button |
@@ -128,2 +128,6 @@ const { h } = require('preact') | ||
hideProgressAfterFinish: false, | ||
doneButtonHandler: () => { | ||
this.uppy.reset() | ||
this.requestCloseModal() | ||
}, | ||
note: null, | ||
@@ -997,3 +1001,4 @@ closeModalOnClickOutside: false, | ||
hideAfterFinish: this.opts.hideProgressAfterFinish, | ||
locale: this.opts.locale | ||
locale: this.opts.locale, | ||
doneButtonHandler: this.opts.doneButtonHandler | ||
}) | ||
@@ -1000,0 +1005,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
583911
7775
Updated@uppy/status-bar@^1.8.0