fix(files_sharing): Allow file actions other than download for hide download shares

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2023-03-10 09:49:03 +01:00
parent 0133e4209f
commit b7aad07df5
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View 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;
};