mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
validateRestrictions was failing due to being unbound, fixed with arrow function
This commit is contained in:
parent
2b52d9f9ab
commit
1c7ac56d84
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ module.exports = class ProviderView {
|
|||
pluginIcon: this.plugin.icon,
|
||||
i18n: this.plugin.uppy.i18n,
|
||||
uppyFiles: this.plugin.uppy.getFiles(),
|
||||
validateRestrictions: this.plugin.uppy.validateRestrictions,
|
||||
validateRestrictions: (...args) => this.plugin.uppy.validateRestrictions(...args),
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue