From 7aa1d750eae854ddb70f44b2fcfd56973a4f9755 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 10 Apr 2024 19:52:10 +0530 Subject: [PATCH] chore: issue comment mention user improvement (#4163) --- .../issue-detail/issue-activity/comments/comment-create.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx b/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx index e0a604425..04fb1e0b4 100644 --- a/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx +++ b/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx @@ -69,7 +69,7 @@ export const IssueCommentCreate: FC = (props) => { watch("comment_html") === "" || watch("comment_html")?.trim() === "" || watch("comment_html") === "

" || - isEmptyHtmlString(watch("comment_html") ?? ""); + (isEmptyHtmlString(watch("comment_html") ?? "") && !watch("comment_html")?.includes("mention-component")); return (