Skip to content

Commit

Permalink
Merge pull request #37439 from nextcloud/backport/37168/stable26
Browse files Browse the repository at this point in the history
[stable26] fix(files_sharing): Allow file actions other than download for hide download shares
  • Loading branch information
juliushaertl authored Apr 3, 2023
2 parents dae56e3 + b7aad07 commit 1845187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/js/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 1845187

Please sign in to comment.