mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
fix: Hide set reminder action on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 8031ee862a)
This commit is contained in:
parent
1e8a067b93
commit
9a4f2f1782
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue