Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 54 additions & 10 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@nextcloud/axios": "^2.5.2",
"@nextcloud/dialogs": "^6.2.0",
"@nextcloud/event-bus": "^3.3.1",
"@nextcloud/files": "^3.12.0",
"@nextcloud/files": "^4.0.0-rc.0",
"@nextcloud/initial-state": "^3.0.0",
"@nextcloud/l10n": "^3.3.0",
"@nextcloud/logger": "^3.0.2",
Expand All @@ -79,4 +79,4 @@
"whatwg-fetch": "^3.6.20"
},
"version": "22.0.0-dev.0"
}
}
5 changes: 2 additions & 3 deletions src/actions/openGroupfolderAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Node } from '@nextcloud/files'

import { FileAction, DefaultType } from '@nextcloud/files'
import { t } from '@nextcloud/l10n'
Expand All @@ -12,9 +11,9 @@ export const action = new FileAction({
displayName: () => t('files', 'Open Team folder'),
iconSvgInline: () => '',

enabled: (files, view) => view.id === appName,
enabled: ({ view }) => view.id === appName,

async exec(node: Node) {
async exec({ node }) {
const dir = node.attributes.mountPoint
window.OCP.Files.Router.goToRoute(
null, // use default route
Expand Down
Loading