Skip to content

Commit

Permalink
fix: Open live-chat widget clicking on any unread message (#3153)
Browse files Browse the repository at this point in the history
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
  • Loading branch information
SanjuSudheerM and pranavrajs committed Oct 8, 2021
1 parent ec2dc1b commit 1c4afb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/javascript/widget/components/UnreadMessage.vue
Expand Up @@ -83,6 +83,8 @@ export default {
onClickMessage() {
if (this.campaignId) {
bus.$emit('on-campaign-view-clicked', this.campaignId);
} else {
bus.$emit('on-unread-view-clicked');
}
},
},
Expand Down

0 comments on commit 1c4afb1

Please sign in to comment.