Merge pull request #42021 from nextcloud/bugfix/noid/fix-undefined-array-entries

This commit is contained in:
Julius Härtl 2023-12-05 20:52:13 +01:00 committed by GitHub
commit 3bdabae487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -307,10 +307,10 @@ export default defineComponent({
.map(this.getNode)
.filter(file => {
if (!showHidden) {
return file?.attributes?.hidden !== true && !file?.basename.startsWith('.')
return file && file?.attributes?.hidden !== true && !file?.basename.startsWith('.')
}
return true
return !!file
})
},

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long