From 2eec28e0ae619cfae9c68554c1eaa058f29e422c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 20 Dec 2018 14:23:42 +0100 Subject: [PATCH] dashboard: Log error if `trigger` is not found. --- packages/@uppy/dashboard/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@uppy/dashboard/src/index.js b/packages/@uppy/dashboard/src/index.js index b819b7f3b..27eac5946 100644 --- a/packages/@uppy/dashboard/src/index.js +++ b/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