From edbdfefcb8f1dffa2b568b4dbd88f73cbb21133d Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Fri, 14 Apr 2023 09:23:42 +0200 Subject: fix(files): standardize `files:node:event` event syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/files/src/actions/deleteAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/src/actions') 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 }) -- cgit v1.2.3