Skip to content

Commit

Permalink
Merge pull request #51077 from nextcloud/pulsejet-patch-share-attr
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 27, 2025
2 parents 299a62b + dbef697 commit 7bab703
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/services/FileInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function(node: Node) {
permissions: node.permissions,
mountType: node.attributes['mount-type'],
sharePermissions: node.attributes['share-permissions'],
shareAttributes: JSON.parse(node.attributes['share-attributes']),
shareAttributes: JSON.parse(node.attributes['share-attributes'] || '[]'),
type: node.type === 'file' ? 'file' : 'dir',
})

Expand Down
4 changes: 2 additions & 2 deletions dist/files-sidebar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-sidebar.js.map

Large diffs are not rendered by default.

0 comments on commit 7bab703

Please sign in to comment.