mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-29 04:50:05 +00:00
Merge pull request #1217 from transloadit/chore/warn-trigger
dashboard: Log error if `trigger` is not found.
This commit is contained in:
commit
2e3231c4b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue