mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-08 15:06:08 +02:00
check isbot property before displaying botbadge (#4548)
(cherry picked from commit 8544a25746
)
This commit is contained in:
parent
fe90cb8224
commit
1cf2c44ac0
@ -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