mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 05:51:07 -05:00
Merge pull request #46933 from nextcloud/backport/46927/stable29
[stable29] fix(files): do not show legacy `edit locally` action on public pages
This commit is contained in:
commit
0d16ba6445
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