mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix icon for private channels in channel suggestion list (#23921)
This commit is contained in:
parent
dd4f71b2b6
commit
3f126905c5
@ -40,7 +40,7 @@ export const ChannelMentionSuggestion = React.forwardRef<HTMLDivElement, Suggest
|
|||||||
} else {
|
} else {
|
||||||
channelIcon = (
|
channelIcon = (
|
||||||
<span className='suggestion-list__icon suggestion-list__icon--large'>
|
<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>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user