chore: issue comment mention user improvement (#4163)

This commit is contained in:
Anmol Singh Bhatia 2024-04-10 19:52:10 +05:30 committed by GitHub
parent 91ed27837e
commit 7aa1d750ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ export const IssueCommentCreate: FC<TIssueCommentCreate> = (props) => {
watch("comment_html") === "" || watch("comment_html") === "" ||
watch("comment_html")?.trim() === "" || watch("comment_html")?.trim() === "" ||
watch("comment_html") === "<p></p>" || watch("comment_html") === "<p></p>" ||
isEmptyHtmlString(watch("comment_html") ?? ""); (isEmptyHtmlString(watch("comment_html") ?? "") && !watch("comment_html")?.includes("mention-component"));
return ( return (
<div <div