Update:Remove call to server for settings filter/sort/playback rate

This commit is contained in:
advplyr 2022-12-17 14:48:56 -06:00
parent 4fd4cc5604
commit 0890a44c0b
8 changed files with 52 additions and 75 deletions

View file

@ -76,15 +76,12 @@ export default {
}
},
async loadSavedSettings() {
var userSavedServerSettings = await this.$localStore.getServerSettings()
const userSavedServerSettings = await this.$localStore.getServerSettings()
if (userSavedServerSettings) {
this.$store.commit('setServerSettings', userSavedServerSettings)
}
var userSavedSettings = await this.$localStore.getUserSettings()
if (userSavedSettings) {
this.$store.commit('user/setSettings', userSavedSettings)
}
await this.$store.dispatch('user/loadUserSettings')
},
async attemptConnection() {
console.warn('[default] attemptConnection')