mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-02 21:24:08 +01:00
Update:Remove log listener for root user & only set when on logger config page
This commit is contained in:
1 parent
916b41d587
commit
bca2cfda13
2 files changed
+6
-9
No files matched your search
@@ -161,6 +161,7 @@ export default {
|
||||
},
|
||||
beforeDestroy() {
|
||||
if (!this.$root.socket) return
|
||||
this.$root.socket.emit('remove_log_listener')
|
||||
this.$root.socket.off('daily_logs', this.dailyLogsLoaded)
|
||||
this.$root.socket.off('log', this.logEvtReceived)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user