mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
fix(files): gracefully handle files:node:updated when not in store
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
31bfd980c3
commit
693bf9a475
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue