dashboard: Fix StatusBar plugin ID

This commit is contained in:
Renée Kooi 2017-09-18 15:04:01 +02:00
parent 949540c03c
commit 5098da7cd1
No known key found for this signature in database
GPG key ID: 30516CF2A8E63718

View file

@ -455,7 +455,7 @@ module.exports = class DashboardUI extends Plugin {
}
if (!this.opts.disableStatusBar) {
const statusBar = this.core.getPlugin('StatusBarUI')
const statusBar = this.core.getPlugin('StatusBar')
// Checking if this plugin exists, in case it was removed by uppy-core
// before the Dashboard was.
if (statusBar) this.core.removePlugin(statusBar)