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:
parent
ec2dc1b61b
commit
1c4afb10df
1 changed files with 2 additions and 0 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue