Skip to content

Commit

Permalink
Merge pull request #1377 from nextcloud/migrate-node-update-event
Browse files Browse the repository at this point in the history
feat: migrate to files:node:updated
  • Loading branch information
juliusknorr authored Oct 11, 2024
2 parents 7f1cebf + 0b38ba8 commit 32741e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NoteRich.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ export default {
mounted() {
this.fetchData()
subscribe('files:file:updated', this.fileUpdated)
subscribe('files:node:updated', this.fileUpdated)
subscribe('files_versions:restore:requested', this.onFileRestoreRequested)
subscribe('files_versions:restore:restored', this.onFileRestored)
},
destroyed() {
this?.editor?.destroy()
unsubscribe('files:file:updated', this.fileUpdated)
unsubscribe('files:node:updated', this.fileUpdated)
unsubscribe('files_versions:restore:requested', this.onFileRestoreRequested)
unsubscribe('files_versions:restore:restored', this.onFileRestored)
},
Expand Down

0 comments on commit 32741e8

Please sign in to comment.