Fetch system settings after submitting them
This commit is contained in:
@@ -141,6 +141,7 @@ export default {
|
||||
.then(() => {
|
||||
this.animateSuccess('auth')
|
||||
this.toastSuccess(this.$t('notification:settings.system.auth.success'))
|
||||
this.$Settings.fetch()
|
||||
})
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.system.auth.error')))
|
||||
.finally(() => {
|
||||
@@ -154,9 +155,8 @@ export default {
|
||||
this.$SystemAPI.settingsUpdate({ values: external })
|
||||
.then(() => {
|
||||
this.animateSuccess('external')
|
||||
this.toastSuccess(
|
||||
this.$t('notification:settings.system.external.success')
|
||||
)
|
||||
this.toastSuccess(this.$t('notification:settings.system.external.success'))
|
||||
this.$Settings.fetch()
|
||||
})
|
||||
.catch(this.toastErrorHandler(this.$t('notification:settings.system.external.error')))
|
||||
.finally(() => {
|
||||
|
||||
Reference in New Issue
Block a user