aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/src')
-rw-r--r--apps/files_trashbin/src/actions/restoreAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts
index 493106953a6..bff1e547efe 100644
--- a/apps/files_trashbin/src/actions/restoreAction.ts
+++ b/apps/files_trashbin/src/actions/restoreAction.ts
@@ -62,7 +62,7 @@ registerFileAction(new FileAction({
// Let's pretend the file is deleted since
// we don't know the restored location
- emit('files:file:deleted', node)
+ emit('files:node:deleted', node)
return true
} catch (error) {
logger.error(error)