summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-12-29 17:04:16 +0300
committerDixsie Wolmers <dixsiew@gmail.com>2022-01-07 19:26:57 +0300
commit77e64901f7334773d85fefab5e5623fa0e6ec499 (patch)
tree5a84fb001595f47a015e084b75baf291a458c1e1
parent61fdd942fc17a63713a82917b185d1ae16b49e4f (diff)
downloadwebui-vue-77e64901f7334773d85fefab5e5623fa0e6ec499.tar.xz
Fix invalid password validation
Bug: Success toast message appeared on invalid value of new password on profile settings page. Solution: Fixed the toast message for password change and timezone change respectively. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I71b53dd02e4fdda040248c3ed9408be8d220454d
-rw-r--r--src/locales/en-US.json2
-rw-r--r--src/views/ProfileSettings/ProfileSettings.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index a66c3759..40d65531 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -631,7 +631,7 @@
"timezoneDisplayDesc": "Select how time is displayed throughout the application",
"username": "Username",
"toast": {
- "successSaveSettings": "Successfully saved account settings."
+ "successUpdatingTimeZone": "Timezone updated successfully."
}
},
"pageNetwork": {
diff --git a/src/views/ProfileSettings/ProfileSettings.vue b/src/views/ProfileSettings/ProfileSettings.vue
index 35fc800d..8f01c59b 100644
--- a/src/views/ProfileSettings/ProfileSettings.vue
+++ b/src/views/ProfileSettings/ProfileSettings.vue
@@ -208,7 +208,7 @@ export default {
localStorage.setItem('storedUtcDisplay', this.form.isUtcDisplay);
this.$store.commit('global/setUtcTime', this.form.isUtcDisplay);
this.successToast(
- this.$t('pageProfileSettings.toast.successSaveSettings')
+ this.$t('pageProfileSettings.toast.successUpdatingTimeZone')
);
},
submitForm() {