diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-09-07 16:11:14 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-09-07 16:11:14 -0700 |
commit | 8031ee862a014937cd9a9e2d6fcda0b9bc5a201b (patch) | |
tree | 56bfcab49ccba4bdefb91fd7eba55a0d022ec847 /apps/files/js | |
parent | fdf752fac6af75aff9c2fd5e84de83e84c10f0e2 (diff) | |
download | nextcloud-server-8031ee862a014937cd9a9e2d6fcda0b9bc5a201b.tar.gz nextcloud-server-8031ee862a014937cd9a9e2d6fcda0b9bc5a201b.zip |
fix: Hide set reminder action on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files/js')
-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) {}, }); } |