mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 23:34:22 -04:00
fix(files): do not show legacy edit locally action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
656828a8bb
commit
f64444bf60
1 changed files with 1 additions and 1 deletions
|
|
@ -726,7 +726,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
if (!/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)) {
|
||||
if (!/Android|iPhone|iPad|iPod/i.test(navigator.userAgent) && !!window.oc_current_user) {
|
||||
this.registerAction({
|
||||
name: 'EditLocally',
|
||||
displayName: function(context) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue