mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 21:34:05 +02:00
Merge pull request #393 from ronaldheft/fix-on-ready-multiple-calls
fix: onReady called multiple times
This commit is contained in:
@@ -155,8 +155,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Settings have been loaded (at least once, so it's safe to kickoff onReady)
|
// Settings have been loaded (at least once, so it's safe to kickoff onReady)
|
||||||
this.settingsLoaded = true
|
if (!this.settingsLoaded) {
|
||||||
this.notifyOnReady()
|
this.settingsLoaded = true
|
||||||
|
this.notifyOnReady()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setListeners() {
|
setListeners() {
|
||||||
// if (!this.$server.socket) {
|
// if (!this.$server.socket) {
|
||||||
|
|||||||
Reference in New Issue
Block a user