Skip to content

Commit

Permalink
Merge pull request #42021 from nextcloud/bugfix/noid/fix-undefined-ar…
Browse files Browse the repository at this point in the history
…ray-entries
  • Loading branch information
juliusknorr authored Dec 5, 2023
2 parents b0976e4 + 8b5eeb1 commit 3bdabae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/files/src/views/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
},

Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 3bdabae

Please sign in to comment.