diff options
Diffstat (limited to 'apps/files_sharing/src/actions/rejectShareAction.ts')
-rw-r--r-- | apps/files_sharing/src/actions/rejectShareAction.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/src/actions/rejectShareAction.ts b/apps/files_sharing/src/actions/rejectShareAction.ts index 44dd36abe55..7fb04d36227 100644 --- a/apps/files_sharing/src/actions/rejectShareAction.ts +++ b/apps/files_sharing/src/actions/rejectShareAction.ts @@ -19,8 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -import type { Node } from '@nextcloud/files' -import type { Navigation } from '../../../files/src/services/Navigation' +import type { Node, View } from '@nextcloud/files' import { emit } from '@nextcloud/event-bus' import { generateOcsUrl } from '@nextcloud/router' @@ -72,7 +71,7 @@ export const action = new FileAction({ return false } }, - async execBatch(nodes: Node[], view: Navigation, dir: string) { + async execBatch(nodes: Node[], view: View, dir: string) { return Promise.all(nodes.map(node => this.exec(node, view, dir))) }, |