fix: comments mention

This commit is contained in:
Aaryan Khandelwal
2025-09-30 13:35:25 +05:30
parent ae084e197b
commit 6cd6269a1d
3 changed files with 3 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ export const CommentCardEditForm: React.FC<Props> = observer((props) => {
const { asset_id } = await activityOperations.uploadCommentAsset(blockId, file, comment.id);
return asset_id;
}}
projectId={projectId?.toString() ?? ""}
projectId={projectId}
parentClassName="p-2"
displayConfig={{
fontSize: "small-font",

View File

@@ -66,6 +66,7 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
isEditing
readOnlyEditorRef={readOnlyEditorRef.current}
setIsEditing={setIsEditing}
projectId={projectId}
workspaceId={workspaceId}
workspaceSlug={workspaceSlug}
/>

View File

@@ -114,6 +114,7 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
id={"add_comment_" + entityId}
value={"<p></p>"}
workspaceSlug={workspaceSlug}
projectId={projectId}
onEnterKeyPress={(e) => {
if (!isEmpty && !isSubmitting) {
handleSubmit(onSubmit)(e);