From 88cb3fc76a4803f0e0892df0868d3deb9bb35878 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Thu, 8 Aug 2024 19:50:21 +0530 Subject: [PATCH] chore: Clean up --- .../dashboard/settings/profile/AudioNotifications.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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')); }, },