]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Update `@nextcloud/files` to 3.4.0 to fix public link shares
authorFerdinand Thiessen <opensource@fthiessen.de>
Mon, 27 May 2024 17:14:01 +0000 (19:14 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Fri, 31 May 2024 10:46:20 +0000 (12:46 +0200)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files/src/components/FilesListVirtual.vue
apps/files/src/views/FilesList.vue
package.json

index 50cd00473a70fa396412abc754164802dff4cce1..af74c6ac5ec56b32bda49958a9a6ef5d2bce5555 100644 (file)
@@ -160,7 +160,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() {
index 0880e02ca0c290dc1c63e43a72b659f41bdbef03..17903c5473f8273468bdbea67e627bb204d63554 100644 (file)
@@ -308,7 +308,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)
                        }
index b60830a6363d58cb6602f6972c6b21be3dcca7c4..136e084b2b8d97b7ad2539bca7753d55f88c73ab 100644 (file)
@@ -47,7 +47,7 @@
     "@nextcloud/capabilities": "^1.0.4",
     "@nextcloud/dialogs": "^5.3.1",
     "@nextcloud/event-bus": "^3.1.0",
-    "@nextcloud/files": "^3.1.1",
+    "@nextcloud/files": "^3.4.0",
     "@nextcloud/initial-state": "^2.0.0",
     "@nextcloud/l10n": "^2.1.0",
     "@nextcloud/logger": "^2.5.0",