aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src')
-rw-r--r--apps/files/src/views/FilesList.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue
index 03cc60e30c0..70c9a38607e 100644
--- a/apps/files/src/views/FilesList.vue
+++ b/apps/files/src/views/FilesList.vue
@@ -243,7 +243,7 @@ export default defineComponent({
// as the path is allowed to be undefined we need to normalize the path ('//' to '/')
const normalizedPath = normalize(`${this.currentFolder?.path ?? ''}/${path ?? ''}`)
// Try cache first
- const nodes = this.filesStore.getNodesByPath(view.id, path)
+ const nodes = this.filesStore.getNodesByPath(view.id, normalizedPath)
if (nodes.length > 0) {
return nodes
}