Fetch system settings after submitting them

This commit is contained in:
Jože Fortun
2022-12-22 17:10:19 +01:00
parent aff5a655e2
commit 9a37042660
@@ -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(() => {