diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2023-09-08 10:54:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 10:54:35 -0700 |
commit | e21f1a9b6d6e9c1151f5c83f3c049144e211fe20 (patch) | |
tree | 863d100053127cc97aeb295655b9cc764203459b | |
parent | ebf24225085174427bf7ff4515ce27f9e83f4cb9 (diff) | |
parent | 8031ee862a014937cd9a9e2d6fcda0b9bc5a201b (diff) | |
download | nextcloud-server-e21f1a9b6d6e9c1151f5c83f3c049144e211fe20.tar.gz nextcloud-server-e21f1a9b6d6e9c1151f5c83f3c049144e211fe20.zip |
Merge pull request #40341 from nextcloud/fix/hide-set-reminder-public
fix: Hide set reminder action on public shares
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index c19440b8209..ec09ec1bb8c 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -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) {}, }); } |