Dashboard: you might want to call openModal manually, then you don’t need trigger

This commit is contained in:
Artur Paikin 2018-01-21 16:40:02 -05:00
parent b63b61021d
commit c547ba3e19

View file

@ -286,7 +286,7 @@ module.exports = class Dashboard extends Plugin {
}
if (!this.opts.inline && !showModalTrigger) {
this.uppy.log('Dashboard modal trigger not found, you wont be able to select files. Make sure `trigger` is set correctly in Dashboard options', 'error')
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')
}
if (!this.opts.inline) {