From bb4d7de2b535d72038c8f6c0b1e89997f80e93f4 Mon Sep 17 00:00:00 2001 From: Felipe Martin <812088+fmartingr@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:31:03 +0200 Subject: [PATCH] fix: dm shared channel indicator (#28302) * fix: dm shared channel indicator --- .../sidebar_direct_channel/sidebar_direct_channel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/components/sidebar/sidebar_channel/sidebar_direct_channel/sidebar_direct_channel.tsx b/webapp/channels/src/components/sidebar/sidebar_channel/sidebar_direct_channel/sidebar_direct_channel.tsx index 5c298c86a0..b3231e0355 100644 --- a/webapp/channels/src/components/sidebar/sidebar_channel/sidebar_direct_channel/sidebar_direct_channel.tsx +++ b/webapp/channels/src/components/sidebar/sidebar_channel/sidebar_direct_channel/sidebar_direct_channel.tsx @@ -110,7 +110,7 @@ class SidebarDirectChannel extends React.PureComponent { label={displayName} channelLeaveHandler={this.handleLeaveChannel} icon={this.getIcon()} - isSharedChannel={teammate.remote_id !== undefined} + isSharedChannel={Boolean(teammate.remote_id)} /> ); }