From 8544a25746fbf104c1580e78d79582e7a02dd2e4 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Mon, 30 Jan 2023 15:40:51 -0700 Subject: [PATCH] check isbot property before displaying botbadge --- .../markdownEditorInput/entryComponent/entryComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/markdownEditorInput/entryComponent/entryComponent.tsx b/webapp/src/components/markdownEditorInput/entryComponent/entryComponent.tsx index dca4c42de..be1fb2b86 100644 --- a/webapp/src/components/markdownEditorInput/entryComponent/entryComponent.tsx +++ b/webapp/src/components/markdownEditorInput/entryComponent/entryComponent.tsx @@ -30,7 +30,7 @@ const Entry = (props: EntryComponentProps): ReactElement => { />
{mention.name} - {BotBadge && } + {BotBadge && mention.is_bot && }