mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
check isbot property before displaying botbadge
This commit is contained in:
parent
345ff01539
commit
8544a25746
@ -30,7 +30,7 @@ const Entry = (props: EntryComponentProps): ReactElement => {
|
||||
/>
|
||||
<div className={theme?.mentionSuggestionsEntryText}>
|
||||
{mention.name}
|
||||
{BotBadge && <BotBadge show={mention.is_bot}/>}
|
||||
{BotBadge && mention.is_bot && <BotBadge/>}
|
||||
<GuestBadge show={mention.is_guest}/>
|
||||
</div>
|
||||
<div className={theme?.mentionSuggestionsEntryText}>
|
||||
|
Loading…
Reference in New Issue
Block a user