fix: show agent name in unread bubble for Captain replies (#13876)

This commit is contained in:
Sivin Varghese
2026-03-23 20:03:31 +05:30
committed by GitHub
parent 3c0d55f87a
commit 30c0479e9a

View File

@@ -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;