Move server settings and SSO settings to settings.js module & cleanup sso.vue

This commit is contained in:
advplyr 2022-02-10 18:24:20 -06:00
parent 5060e0b728
commit c34a518754
21 changed files with 132 additions and 283 deletions

View file

@ -91,7 +91,7 @@ export default {
})
},
serverSettings() {
return this.$store.state.serverSettings
return this.$store.state.settings.serverSettings
},
streamAudiobook() {
return this.$store.state.streamAudiobook
@ -124,7 +124,7 @@ export default {
},
updateServerSettings(payload) {
this.$store
.dispatch('updateServerSettings', payload)
.dispatch('settings/updateServerSettings', payload)
.then((success) => {
console.log('Updated Server Settings', success)
})