mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-04 19:15:49 +02:00
Merge pull request #4530 from mattermost/gh-4520-bots
GH-4520 - Check isBot property before displaying BotBadge
This commit is contained in:
commit
ed5651404a
@ -30,7 +30,7 @@ const Entry = (props: EntryComponentProps): ReactElement => {
|
|||||||
/>
|
/>
|
||||||
<div className={theme?.mentionSuggestionsEntryText}>
|
<div className={theme?.mentionSuggestionsEntryText}>
|
||||||
{mention.name}
|
{mention.name}
|
||||||
{BotBadge && <BotBadge show={mention.is_bot}/>}
|
{BotBadge && mention.is_bot && <BotBadge/>}
|
||||||
<GuestBadge show={mention.is_guest}/>
|
<GuestBadge show={mention.is_guest}/>
|
||||||
</div>
|
</div>
|
||||||
<div className={theme?.mentionSuggestionsEntryText}>
|
<div className={theme?.mentionSuggestionsEntryText}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user