Browse Source

dashboard: Log error if `trigger` is not found.

Renée Kooi 6 years ago
parent
commit
2eec28e0ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/@uppy/dashboard/src/index.js

+ 1 - 1
packages/@uppy/dashboard/src/index.js

@@ -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