diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-04-22 11:49:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 11:49:57 +0200 |
commit | 1b119e10d0249fbafb768cceef3c353b34b65d3a (patch) | |
tree | 7f7c62fb1bbfe57df8ef166694a6851abed0ea25 /apps/files/src/store/files.ts | |
parent | 9e1703e76c974228e3534fae28c754e37ce55e2b (diff) | |
parent | 751bc139a1a418af4604c626311aef0b46c47a16 (diff) | |
download | nextcloud-server-1b119e10d0249fbafb768cceef3c353b34b65d3a.tar.gz nextcloud-server-1b119e10d0249fbafb768cceef3c353b34b65d3a.zip |
Merge pull request #37866 from nextcloud/fix/files-vue
Diffstat (limited to 'apps/files/src/store/files.ts')
-rw-r--r-- | apps/files/src/store/files.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/store/files.ts b/apps/files/src/store/files.ts index ea516a886d9..bd7d3202dd9 100644 --- a/apps/files/src/store/files.ts +++ b/apps/files/src/store/files.ts @@ -59,11 +59,11 @@ export const useFilesStore = function() { updateNodes(nodes: Node[]) { // Update the store all at once const files = nodes.reduce((acc, node) => { - if (!node.attributes.fileid) { + if (!node.fileid) { logger.warn('Trying to update/set a node without fileid', node) return acc } - acc[node.attributes.fileid] = node + acc[node.fileid] = node return acc }, {} as FilesStore) |