mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #39081 from nextcloud/backport/39025/stable25
This commit is contained in:
commit
2ec0a9f81e
1 changed files with 2 additions and 2 deletions
|
|
@ -597,8 +597,8 @@
|
|||
Object.values = objectValues;
|
||||
}
|
||||
|
||||
var menuActions = Object.values(this.actions.all).filter(function (action) {
|
||||
return action.type !== OCA.Files.FileActions.TYPE_INLINE;
|
||||
var menuActions = Object.values(actions).filter(function (action) {
|
||||
return action.type !== OCA.Files.FileActions.TYPE_INLINE && (!defaultAction || action.name !== defaultAction.name)
|
||||
});
|
||||
// do not render the menu if nothing is in it
|
||||
if (menuActions.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue