Fix icon for private channels in channel suggestion list (#23921)

This commit is contained in:
Maria A Nunez 2023-07-07 10:54:01 -04:00 committed by GitHub
parent dd4f71b2b6
commit 3f126905c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ export const ChannelMentionSuggestion = React.forwardRef<HTMLDivElement, Suggest
} else {
channelIcon = (
<span className='suggestion-list__icon suggestion-list__icon--large'>
<i className={`icon icon--no-spacing icon-${item.channel?.type === Constants.OPEN_CHANNEL ? 'globe' : 'lock'}`}/>
<i className={`icon icon--no-spacing icon-${item.channel?.type === Constants.OPEN_CHANNEL ? 'globe' : 'lock-outline'}`}/>
</span>
);
}