From 9a37042660ec085115fc6160eb20544989206fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Thu, 22 Dec 2022 17:07:44 +0100 Subject: [PATCH] Fetch system settings after submitting them --- client/web/admin/src/views/System/Settings/Index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/web/admin/src/views/System/Settings/Index.vue b/client/web/admin/src/views/System/Settings/Index.vue index 3717f38fe..e6ab69d88 100644 --- a/client/web/admin/src/views/System/Settings/Index.vue +++ b/client/web/admin/src/views/System/Settings/Index.vue @@ -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(() => {