diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-03-10 09:49:03 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2023-03-13 12:51:48 +0100 |
commit | 9d74ea00d4688074adaa5352e1a50f6a51bc0087 (patch) | |
tree | 03a2ca594a693bbc8b5e175cb54accc8d9f6bd20 | |
parent | ac90fa2f8e4f25a09de6b1a4b65dffd7a37b5e97 (diff) | |
download | nextcloud-server-9d74ea00d4688074adaa5352e1a50f6a51bc0087.tar.gz nextcloud-server-9d74ea00d4688074adaa5352e1a50f6a51bc0087.zip |
fix(files_sharing): Allow file actions other than download for hide download shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/files_sharing/js/public.js | 2 |
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; }; |