diff options
Diffstat (limited to 'apps/files/src/store/files.ts')
-rw-r--r-- | apps/files/src/store/files.ts | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/files/src/store/files.ts b/apps/files/src/store/files.ts index d276b6bf0b7..11e4fc970a4 100644 --- a/apps/files/src/store/files.ts +++ b/apps/files/src/store/files.ts @@ -91,15 +91,10 @@ export const useFilesStore = () => { const fileStore = store() // Make sure we only register the listeners once if (!fileStore._initialized) { - // subscribe('files:file:created', fileStore.onCreatedNode) - subscribe('files:file:deleted', fileStore.onDeletedNode) - // subscribe('files:file:moved', fileStore.onMovedNode) - // subscribe('files:file:updated', fileStore.onUpdatedNode) - - // subscribe('files:folder:created', fileStore.onCreatedNode) - subscribe('files:folder:deleted', fileStore.onDeletedNode) - // subscribe('files:folder:moved', fileStore.onMovedNode) - // subscribe('files:folder:updated', fileStore.onUpdatedNode) + // subscribe('files:node:created', fileStore.onCreatedNode) + subscribe('files:node:deleted', fileStore.onDeletedNode) + // subscribe('files:node:moved', fileStore.onMovedNode) + // subscribe('files:node:updated', fileStore.onUpdatedNode) fileStore._initialized = true } |