Skip to content

Commit

Permalink
Merge pull request #40341 from nextcloud/fix/hide-set-reminder-public
Browse files Browse the repository at this point in the history
fix: Hide set reminder action on public shares
  • Loading branch information
Pytal committed Sep 8, 2023
2 parents ebf2422 + 8031ee8 commit e21f1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/fileactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@
icon: function(_filename, _context) {
return OC.imagePath('files_reminders', 'alarm.svg')
},
permissions: OC.PERMISSION_READ,
permissions: $('#isPublic').val() ? null : OC.PERMISSION_READ,
actionHandler: function(_filename, _context) {},
});
}
Expand Down

0 comments on commit e21f1a9

Please sign in to comment.