Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: issue comment mention user improvement (#4163)

Anmol Singh Bhatia7aa1d750eae8
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 e0a6044255..04fb1e0b42 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<TIssueCommentCreate> = (props) => {
watch("comment_html") === "" ||
watch("comment_html")?.trim() === "" ||
watch("comment_html") === "<p></p>" ||
- isEmptyHtmlString(watch("comment_html") ?? "");
+ (isEmptyHtmlString(watch("comment_html") ?? "") && !watch("comment_html")?.includes("mention-component"));
return (
<div