mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-21 05:08:28 +00:00
Merge pull request #393 from ronaldheft/fix-on-ready-multiple-calls
fix: onReady called multiple times
This commit is contained in:
commit
3b285db21a
1 changed files with 4 additions and 2 deletions
|
|
@ -155,8 +155,10 @@ export default {
|
|||
}
|
||||
|
||||
// Settings have been loaded (at least once, so it's safe to kickoff onReady)
|
||||
this.settingsLoaded = true
|
||||
this.notifyOnReady()
|
||||
if (!this.settingsLoaded) {
|
||||
this.settingsLoaded = true
|
||||
this.notifyOnReady()
|
||||
}
|
||||
},
|
||||
setListeners() {
|
||||
// if (!this.$server.socket) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue