summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-03-14 13:14:19 +0100
committerGitHub <noreply@github.com>2023-03-14 13:14:19 +0100
commit59185918744093370a3596d4929359ceb4b21c20 (patch)
tree8c430c2adcb285a06d2023231ffe4ac3bf60dc5d /apps
parent2b291e74d55e9b1eb2111135d4ffb10c8308d462 (diff)
parent9d74ea00d4688074adaa5352e1a50f6a51bc0087 (diff)
downloadnextcloud-server-59185918744093370a3596d4929359ceb4b21c20.tar.gz
nextcloud-server-59185918744093370a3596d4929359ceb4b21c20.zip
Merge pull request #37168 from nextcloud/bugfix/noid/hide-download-actions
fix(files_sharing): Allow file actions other than download for hide download shares
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/public.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 128875ba6ab..154b970c5be 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -217,7 +217,7 @@ OCA.Sharing.PublicApp = {
// Remove the link. This means that files without a default action fail hard
$tr.find('a.name').attr('href', '#');
- this.fileActions.actions.all = {};
+ delete this.fileActions.actions.all.Download;
}
return $tr;
};