|
@@ -480,7 +480,7 @@ module.exports = class Dashboard extends Plugin {
|
|
showLinkToFileUploadResult: this.opts.showLinkToFileUploadResult,
|
|
showLinkToFileUploadResult: this.opts.showLinkToFileUploadResult,
|
|
currentWidth: pluginState.containerWidth,
|
|
currentWidth: pluginState.containerWidth,
|
|
isWide: pluginState.containerWidth > 400,
|
|
isWide: pluginState.containerWidth > 400,
|
|
- isTargetDOMEl: pluginState.isTargetDOMEl
|
|
|
|
|
|
+ isTargetDOMEl: this.isTargetDOMEl
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
@@ -493,7 +493,7 @@ module.exports = class Dashboard extends Plugin {
|
|
}
|
|
}
|
|
|
|
|
|
install () {
|
|
install () {
|
|
- // Set default state for Modal
|
|
|
|
|
|
+ // Set default state for Dashboard
|
|
this.setPluginState({
|
|
this.setPluginState({
|
|
isHidden: true,
|
|
isHidden: true,
|
|
showFileCard: false,
|
|
showFileCard: false,
|