Update:Remove call to server for settings filter/sort/playback rate

This commit is contained in:
advplyr 2022-12-17 14:48:56 -06:00
parent 4fd4cc5604
commit 0890a44c0b
8 changed files with 52 additions and 75 deletions

View file

@ -453,7 +453,7 @@ export default {
}
this.$eventBus.$on('library-changed', this.libraryChanged)
this.$store.commit('user/addSettingsListener', { id: 'lazy-bookshelf', meth: this.settingsUpdated })
this.$eventBus.$on('user-settings', this.settingsUpdated)
this.$socket.$on('item_updated', this.libraryItemUpdated)
this.$socket.$on('item_added', this.libraryItemAdded)
@ -468,7 +468,7 @@ export default {
}
this.$eventBus.$off('library-changed', this.libraryChanged)
this.$store.commit('user/removeSettingsListener', 'lazy-bookshelf')
this.$eventBus.$off('user-settings', this.settingsUpdated)
this.$socket.$off('item_updated', this.libraryItemUpdated)
this.$socket.$off('item_added', this.libraryItemAdded)