We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 396f4cc commit b86b150Copy full SHA for b86b150
renderer/player/elements/header/index.js
@@ -76,7 +76,7 @@ class Header extends Component {
76
77
handlePaths ({ filePaths }) {
78
this.dialogOpen = false
79
- if (filePaths) {
+ if (Array.isArray(filePaths) && filePaths.length > 0) {
80
this.emit('config:set', { filePaths })
81
this.emit('library:update-library', filePaths)
82
}
0 commit comments