summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2024-05-22 11:00:21 -0700
committerChristopher Ng <chrng8@gmail.com>2024-05-22 11:11:12 -0700
commitffda00b2adcc5a95c60b27509ddcce852fb4d826 (patch)
tree7f3e7427cc513a1c4eedddd46f2579befa270e48 /apps/files_sharing
parentc8003e480b2320c998d7c088eeeaac1a72fe2af2 (diff)
downloadnextcloud-server-ffda00b2adcc5a95c60b27509ddcce852fb4d826.tar.gz
nextcloud-server-ffda00b2adcc5a95c60b27509ddcce852fb4d826.zip
fix: Hide download action in shares view
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/sharedfilelist.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index 65eb1b78f5f..45f44e84b77 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -390,7 +390,8 @@
icon: OC.MimeType.getIconUrl(share.mimetype),
mimetype: share.mimetype,
hasPreview: share.has_preview,
- tags: share.tags || []
+ tags: share.tags || [],
+ shareAttributes: JSON.parse(share.attributes),
}
if (share.item_type === 'folder') {
file.type = 'dir'