Skip to content

Commit ea19915

Browse files
committed
fix(files_sharing): Allow file actions other than download for hide download shares
Signed-off-by: Julius Härtl <[email protected]>
1 parent 16b68fd commit ea19915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/js/public.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ OCA.Sharing.PublicApp = {
217217
// Remove the link. This means that files without a default action fail hard
218218
$tr.find('a.name').attr('href', '#');
219219

220-
this.fileActions.actions.all = {};
220+
delete this.fileActions.actions.all.Download;
221221
}
222222
return $tr;
223223
};

0 commit comments

Comments
 (0)