fix: Add fixes for sentry errors (#3522)

- Add fixes for sentry errors
This commit is contained in:
Pranav Raj S 2021-12-08 22:20:28 -08:00 committed by GitHub
parent 2be71e73dc
commit 2f63ebb8a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 124 additions and 110 deletions

View file

@ -199,6 +199,10 @@ export const IFrameHelper = {
},
handleNotificationDot: event => {
if (window.$chatwoot.hideMessageBubble) {
return;
}
const bubbleElement = document.querySelector('.woot-widget-bubble');
if (
event.unreadMessageCount > 0 &&