From 77e64901f7334773d85fefab5e5623fa0e6ec499 Mon Sep 17 00:00:00 2001 From: Sandeepa Singh Date: Wed, 29 Dec 2021 19:34:16 +0530 Subject: 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 Change-Id: I71b53dd02e4fdda040248c3ed9408be8d220454d --- src/locales/en-US.json | 2 +- src/views/ProfileSettings/ProfileSettings.vue | 2 +- 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() { -- cgit v1.2.3