From: Julius Härtl Date: Fri, 10 Mar 2023 08:49:03 +0000 (+0100) Subject: fix(files_sharing): Allow file actions other than download for hide download shares X-Git-Tag: v27.0.0beta1~341^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F37168%2Fhead;p=nextcloud-server.git fix(files_sharing): Allow file actions other than download for hide download shares Signed-off-by: Julius Härtl --- 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; };