Merge pull request #42006 from nextcloud/bugfix/41448

pull/41984/head
Julius Härtl 6 months ago committed by GitHub
commit ca60df9abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -281,10 +281,16 @@ export default defineComponent({
},
dirContents(): Node[] {
const showHidden = this.userConfigStore?.userConfig.show_hidden
return (this.currentFolder?._children || [])
.map(this.getNode)
.filter(file => file)
.filter(file => file?.attributes?.hidden !== true)
.filter(file => {
if (!showHidden) {
return file?.attributes?.hidden !== true && !file?.basename.startsWith('.')
}
return true
})
},
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save