fix: onReady called multiple times

This commit is contained in:
ronaldheft 2022-09-18 14:38:10 -04:00
parent 4e94fd6ad0
commit e6d27a1487
No known key found for this signature in database

View file

@ -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) {