From 53cf7139120bf33302286f5006b0ce31990a5ccc Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 25 Nov 2024 15:21:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20email=20=E6=8E=A8=E9=80=81=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6,=20=E7=BC=BA=E5=B0=91msg=5Fsource?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Online/Components/ChannelLogo.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Conversations/Online/Components/ChannelLogo.jsx b/src/views/Conversations/Online/Components/ChannelLogo.jsx index 7573dbd..0b9cfb2 100644 --- a/src/views/Conversations/Online/Components/ChannelLogo.jsx +++ b/src/views/Conversations/Online/Components/ChannelLogo.jsx @@ -7,7 +7,7 @@ const ChannelLogo = ({channel}) => { if (Array.isArray(channel)) { channel = channel[channel.length - 1]; } - const _channel = channel.toLowerCase(); + const _channel = (channel || '').toLowerCase(); switch (_channel) { case 'waba': return ;