aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/actions
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-14 09:23:42 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-14 09:26:32 +0200
commitedbdfefcb8f1dffa2b568b4dbd88f73cbb21133d (patch)
tree024716507ae722bc9023d47d2ef38b369028b440 /apps/files/src/actions
parent0951398af88455f28359d032f916474e3d8d2893 (diff)
downloadnextcloud-server-edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d.tar.gz
nextcloud-server-edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d.zip
fix(files): standardize `files:node:event` event syntax
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/actions')
-rw-r--r--apps/files/src/actions/deleteAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/actions/deleteAction.ts b/apps/files/src/actions/deleteAction.ts
index d8ed4d35204..087884b3362 100644
--- a/apps/files/src/actions/deleteAction.ts
+++ b/apps/files/src/actions/deleteAction.ts
@@ -50,7 +50,7 @@ registerFileAction(new FileAction({
// Let's delete even if it's moved to the trashbin
// since it has been removed from the current view
// and changing the view will trigger a reload anyway.
- emit('files:file:deleted', node)
+ emit('files:node:deleted', node)
return true
} catch (error) {
logger.error('Error while deleting a file', { error, source: node.source, node })