perf: 个人WhatsApp消息气泡

dev/supplier-email-drawer
Lei OT 9 months ago
parent 2bfd4896da
commit fb32273d41

@ -118,7 +118,7 @@ const BubbleIM = ({ handlePreview, handleContactClick, setNewChatModalVisible, s
? {
// styles: { backgroundColor: '#ccd4ae' },
notchStyle: { fill: outboundStyle[message.msg_source.toLowerCase()].color },
title: <><ChannelLogo channel={message.msg_source} />&nbsp;{message.wabaName}&nbsp;-&nbsp;{message.title}</>,
title: <><ChannelLogo channel={message.msg_source} />{message.wabaName ? ` ${message.wabaName} - ${message.title}` : ` ${message.title || message.from}`}</>,
}
: {
// title: <>&nbsp;<ChannelLogo channel={message.msg_source} />&nbsp;{message.title}</>,

Loading…
Cancel
Save