fix: dm shared channel indicator (#28302)

* fix: dm shared channel indicator
This commit is contained in:
Felipe Martin
2024-09-27 12:31:03 -04:00
committed by GitHub
parent d1cad8c692
commit bb4d7de2b5
@@ -110,7 +110,7 @@ class SidebarDirectChannel extends React.PureComponent<Props> {
label={displayName}
channelLeaveHandler={this.handleLeaveChannel}
icon={this.getIcon()}
isSharedChannel={teammate.remote_id !== undefined}
isSharedChannel={Boolean(teammate.remote_id)}
/>
);
}