fix: Forward attributes to the 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>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Louis Chemineau 2025-04-30 17:17:44 +02:00 committed by nextcloud-command
parent d656d5f4f4
commit 5a71a3b1a7
3 changed files with 4 additions and 3 deletions

View file

@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long