mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
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:
parent
d656d5f4f4
commit
5a71a3b1a7
3 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
4
dist/files-sidebar.js
vendored
4
dist/files-sidebar.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-sidebar.js.map
vendored
2
dist/files-sidebar.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue