From 9d74ea00d4688074adaa5352e1a50f6a51bc0087 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Fri, 10 Mar 2023 09:49:03 +0100 Subject: [PATCH] fix(files_sharing): Allow file actions other than download for hide download shares MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files_sharing/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.5