mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-08 11:42:44 +02:00
Add:Hide series from home page option #919
This commit is contained in:
@@ -40,7 +40,20 @@ export default {
|
||||
return this.$store.state.streamLibraryItem
|
||||
}
|
||||
},
|
||||
mounted() {},
|
||||
beforeDestroy() {}
|
||||
methods: {
|
||||
seriesUpdated(series) {
|
||||
this.series = series
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.$root.socket) {
|
||||
this.$root.socket.on('series_updated', this.seriesUpdated)
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
if (this.$root.socket) {
|
||||
this.$root.socket.off('series_updated', this.seriesUpdated)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user