diff --git a/app/javascript/dashboard/routes/dashboard/settings/profile/AudioNotifications.vue b/app/javascript/dashboard/routes/dashboard/settings/profile/AudioNotifications.vue index 09be9e6fc..1660c2fbf 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/profile/AudioNotifications.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/profile/AudioNotifications.vue @@ -92,7 +92,7 @@ export default { await this.updateUISettings({ enable_audio_alerts: this.audioAlert, }); - await this.updateAudioAlertInstanceValues(); + this.updateAudioAlertInstanceValues(); useAlert(this.$t('PROFILE_SETTINGS.FORM.API.UPDATE_SUCCESS')); }, async handleAudioAlertConditions(id, value) { @@ -100,18 +100,18 @@ export default { await this.updateUISettings({ always_play_audio_alert: !value, }); - await this.updateAudioAlertInstanceValues(); + this.updateAudioAlertInstanceValues(); } else if (id === 'conversations_are_read') { await this.updateUISettings({ alert_if_unread_assigned_conversation_exist: value, }); - await this.updateAudioAlertInstanceValues(); + this.updateAudioAlertInstanceValues(); } useAlert(this.$t('PROFILE_SETTINGS.FORM.API.UPDATE_SUCCESS')); }, async handleAudioToneChange(value) { await this.updateUISettings({ notification_tone: value }); - await this.updateAudioAlertInstanceValues(); + this.updateAudioAlertInstanceValues(); useAlert(this.$t('PROFILE_SETTINGS.FORM.API.UPDATE_SUCCESS')); }, },