aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-06-25 00:24:22 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-08-01 07:14:04 +0200
commit1b9d6194f360d84a25d5b41b75d06760d76907cf (patch)
tree7f991d932cd889abc6f11c941218679151db774f /apps/files_trashbin
parent172c43351e4d48535a4e623646e6c48096ad802d (diff)
downloadnextcloud-server-1b9d6194f360d84a25d5b41b75d06760d76907cf.tar.gz
nextcloud-server-1b9d6194f360d84a25d5b41b75d06760d76907cf.zip
refactor(files): Resort imports and fix doc comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/src/actions/restoreAction.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts
index cda82fda466..31160183d83 100644
--- a/apps/files_trashbin/src/actions/restoreAction.ts
+++ b/apps/files_trashbin/src/actions/restoreAction.ts
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { emit } from '@nextcloud/event-bus'
+import { encodePath } from '@nextcloud/paths'
import { generateRemoteUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'
import { Permission, Node, View, registerFileAction, FileAction } from '@nextcloud/files'
@@ -10,8 +11,7 @@ import { translate as t } from '@nextcloud/l10n'
import axios from '@nextcloud/axios'
import History from '@mdi/svg/svg/history.svg?raw'
-import logger from '../../../files/src/logger.js'
-import { encodePath } from '@nextcloud/paths'
+import logger from '../../../files/src/logger.ts'
registerFileAction(new FileAction({
id: 'restore',