Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(files): gracefully handle files:node:updated when not in store
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 7, 2025
commit 693bf9a475cc919b2b61b5ca3d16e4ef40e39e06
2 changes: 1 addition & 1 deletion apps/files/src/store/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down