diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-06-22 11:37:02 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-07-05 16:20:33 +0200 |
commit | fa50f6ce14f60fa0b46cd20f9bfa0e8210754020 (patch) | |
tree | 65a0626dc39b88fc4eceec7bdc2cec3e50f7c502 /apps | |
parent | 96face57a75b361669d91b971925367f766365c2 (diff) | |
download | nextcloud-server-fa50f6ce14f60fa0b46cd20f9bfa0e8210754020.tar.gz nextcloud-server-fa50f6ce14f60fa0b46cd20f9bfa0e8210754020.zip |
fix(files): restore action tslint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/src/actions/restoreAction.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts index bff1e547efe..1b14efd545d 100644 --- a/apps/files_trashbin/src/actions/restoreAction.ts +++ b/apps/files_trashbin/src/actions/restoreAction.ts @@ -27,8 +27,9 @@ import { translate as t } from '@nextcloud/l10n' import axios from '@nextcloud/axios' import History from '@mdi/svg/svg/history.svg?raw' -import { registerFileAction, FileAction } from '../../../files/src/services/FileAction.ts' +import { registerFileAction, FileAction } from '../../../files/src/services/FileAction' import logger from '../../../files/src/logger.js' +import type { Navigation } from '../../../files/src/services/Navigation' registerFileAction(new FileAction({ id: 'restore', @@ -69,8 +70,8 @@ registerFileAction(new FileAction({ return false } }, - async execBatch(nodes: Node[], view) { - return Promise.all(nodes.map(node => this.exec(node, view))) + async execBatch(nodes: Node[], view: Navigation, dir: string) { + return Promise.all(nodes.map(node => this.exec(node, view, dir))) }, order: 1, |