]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files_sharing): Allow file actions other than download for hide download shares 37439/head
authorJulius Härtl <jus@bitgrid.net>
Fri, 10 Mar 2023 08:49:03 +0000 (09:49 +0100)
committerJulius Härtl <jus@bitgrid.net>
Tue, 28 Mar 2023 06:15:49 +0000 (08:15 +0200)
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;
                        };