Merge pull request #1217 from transloadit/chore/warn-trigger

dashboard: Log error if `trigger` is not found.
This commit is contained in:
Artur Paikin 2018-12-20 17:41:22 +03:00 committed by GitHub
commit 2e3231c4b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -441,7 +441,7 @@ module.exports = class Dashboard extends Plugin {
}
if (!this.opts.inline && !showModalTrigger) {
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself')
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself', 'error')
}
// Drag Drop