]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files_sharing): Allow file actions other than download for hide download shares 37168/head
authorJulius Härtl <jus@bitgrid.net>
Fri, 10 Mar 2023 08:49:03 +0000 (09:49 +0100)
committerJulius Härtl <jus@bitgrid.net>
Mon, 13 Mar 2023 11:51:48 +0000 (12:51 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files_sharing/js/public.js

index 128875ba6aba9814d01f5fc11a5548d94d357f3b..154b970c5be33e3f62de995ea84a7d89ac5d63e0 100644 (file)
@@ -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;
                        };