Skip to content

Commit 7bab703

Browse files
authored
Merge pull request #51077 from nextcloud/pulsejet-patch-share-attr
2 parents 299a62b + dbef697 commit 7bab703

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files/src/services/FileInfo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function(node: Node) {
2222
permissions: node.permissions,
2323
mountType: node.attributes['mount-type'],
2424
sharePermissions: node.attributes['share-permissions'],
25-
shareAttributes: JSON.parse(node.attributes['share-attributes']),
25+
shareAttributes: JSON.parse(node.attributes['share-attributes'] || '[]'),
2626
type: node.type === 'file' ? 'file' : 'dir',
2727
})
2828

dist/files-sidebar.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-sidebar.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)