diff options
author | Louis Chemineau <louis@chmn.me> | 2025-04-30 17:17:44 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2025-04-30 15:27:39 +0000 |
commit | eab2d9e3a9bc0238e43cf01c7921f4a9b61b82d3 (patch) | |
tree | 85c1b04d922373da6bd3fe3010c92dd3a9a4eef1 /apps/files/src | |
parent | f26dc79480e75b0dc2f80c9dfc08fada0f6beb68 (diff) | |
download | nextcloud-server-eab2d9e3a9bc0238e43cf01c7921f4a9b61b82d3.tar.gz nextcloud-server-eab2d9e3a9bc0238e43cf01c7921f4a9b61b82d3.zip |
fix: Forward attributes to the sidebarartonge/fix/attribute_in_sidebar
Needed for Photos' sidebar tab
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/services/FileInfo.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/src/services/FileInfo.ts b/apps/files/src/services/FileInfo.ts index 18629845cca..318236f1677 100644 --- a/apps/files/src/services/FileInfo.ts +++ b/apps/files/src/services/FileInfo.ts @@ -24,6 +24,7 @@ export default function(node: Node) { sharePermissions: node.attributes['share-permissions'], shareAttributes: JSON.parse(node.attributes['share-attributes'] || '[]'), type: node.type === 'file' ? 'file' : 'dir', + attributes: node.attributes, }) // TODO remove when no more legacy backbone is used |