mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 01:15:35 +00:00
check if info array is empty (#3442)
This commit is contained in:
parent
3c2d76f960
commit
cfaf2acf4e
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ module.exports = class Dashboard extends UIPlugin {
|
|||
const isFocusInUppy = this.el.contains(document.activeElement)
|
||||
// When focus is lost on the page (== focus is on body for most browsers, or focus is null for IE11)
|
||||
const isFocusNowhere = document.activeElement === document.body || document.activeElement === null
|
||||
const isInformerHidden = this.uppy.getState().info.isHidden
|
||||
const isInformerHidden = this.uppy.getState().info.length === 0
|
||||
const isModal = !this.opts.inline
|
||||
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue