Skip to content

Commit

Permalink
Use new API to register Files view
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Nov 28, 2023
1 parent 18aaebc commit e22e671
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 74 deletions.
219 changes: 152 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@nextcloud/auth": "^2.2.1",
"@nextcloud/axios": "^2.4.0",
"@nextcloud/event-bus": "^3.1.0",
"@nextcloud/files": "^3.0.0-beta.11",
"@nextcloud/files": "^3.0.0",
"@nextcloud/l10n": "^2.1.0",
"@nextcloud/router": "^2.1.2",
"@nextcloud/vue": "^7.12.6",
Expand Down
4 changes: 2 additions & 2 deletions src/actions/openGroupfolderAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import { translate as t } from '@nextcloud/l10n'
import type { Node } from '@nextcloud/files'

import { registerFileAction, FileAction } from '@nextcloud/files'
import { registerFileAction, FileAction, DefaultType } from '@nextcloud/files'

registerFileAction(new FileAction({
id: 'open-group-folders',
Expand All @@ -41,7 +41,7 @@ registerFileAction(new FileAction({
return null as any as boolean
},

default: true,
default: DefaultType.DEFAULT,
// Before openFolderAction
order: -1000,
}))
Loading

0 comments on commit e22e671

Please sign in to comment.