fix: Update @nextcloud/files to 3.4.0 to fix public link shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-05-27 19:14:01 +02:00
parent 8f7831deeb
commit 042b62f80a
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ export default defineComponent({
if (this.filesListWidth < 768) {
return false
}
return this.nodes.some(node => node.attributes.size !== undefined)
return this.nodes.some(node => node.size !== undefined)
},
sortedHeaders() {

View file

@ -301,7 +301,7 @@ export default defineComponent({
// Filter based on the filterText obtained from nextcloud:unified-search.search event.
if (this.filterText) {
filteredDirContent = filteredDirContent.filter(node => {
return node.attributes.basename.toLowerCase().includes(this.filterText.toLowerCase())
return node.basename.toLowerCase().includes(this.filterText.toLowerCase())
})
console.debug('Files view filtered', filteredDirContent)
}