fix: Open live-chat widget clicking on any unread message (#3153)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sanju 2021-10-08 14:08:13 +05:30 committed by GitHub
parent ec2dc1b61b
commit 1c4afb10df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,8 @@ export default {
onClickMessage() { onClickMessage() {
if (this.campaignId) { if (this.campaignId) {
bus.$emit('on-campaign-view-clicked', this.campaignId); bus.$emit('on-campaign-view-clicked', this.campaignId);
} else {
bus.$emit('on-unread-view-clicked');
} }
}, },
}, },