diff --git a/app/javascript/dashboard/helper/AudioAlerts/DashboardAudioNotificationHelper.js b/app/javascript/dashboard/helper/AudioAlerts/DashboardAudioNotificationHelper.js index 724fd18cf..d9899b374 100644 --- a/app/javascript/dashboard/helper/AudioAlerts/DashboardAudioNotificationHelper.js +++ b/app/javascript/dashboard/helper/AudioAlerts/DashboardAudioNotificationHelper.js @@ -52,6 +52,10 @@ class DashboardAudioNotificationHelper { }; executeRecurringNotification = () => { + if (!window.WOOT || !window.WOOT.$store) { + this.clearSetTimeout(); + return; + } const mineConversation = window.WOOT.$store.getters.getMineChats({ assigneeType: 'me', status: 'open',