fix: dm shared channel indicator (#28302)

* fix: dm shared channel indicator
Этот коммит содержится в:
Felipe Martin
2024-09-27 18:31:03 +02:00
коммит произвёл GitHub
родитель d1cad8c692
Коммит 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)}
/>
);
}