diff options
-rw-r--r-- | apps/files/src/store/files.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/store/files.ts b/apps/files/src/store/files.ts index 3591832d0c4..0bcf4ce9350 100644 --- a/apps/files/src/store/files.ts +++ b/apps/files/src/store/files.ts @@ -154,7 +154,7 @@ export const useFilesStore = function(...args) { } // If we have only one node with the file ID, we can update it directly - if (node.source === nodes[0].source) { + if (nodes.length === 1 && node.source === nodes[0].source) { this.updateNodes([node]) return } |