fix: show agent name in unread bubble for Captain replies (#13876)
This commit is contained in:
@@ -60,8 +60,8 @@ export default {
|
|||||||
},
|
},
|
||||||
agentName() {
|
agentName() {
|
||||||
if (this.isSenderExist(this.sender)) {
|
if (this.isSenderExist(this.sender)) {
|
||||||
const { available_name: availableName } = this.sender;
|
const { available_name: availableName, name } = this.sender;
|
||||||
return availableName;
|
return availableName || name || '';
|
||||||
}
|
}
|
||||||
if (this.useInboxAvatarForBot) {
|
if (this.useInboxAvatarForBot) {
|
||||||
return this.channelConfig.websiteName;
|
return this.channelConfig.websiteName;
|
||||||
|
|||||||
Reference in New Issue
Block a user