[WIKI-668] fix: comments mention #7874
This commit is contained in:
parent
ded36785e7
commit
843faf85b7
3 changed files with 3 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
|
|||
isEditing
|
||||
readOnlyEditorRef={readOnlyEditorRef.current}
|
||||
setIsEditing={setIsEditing}
|
||||
projectId={projectId}
|
||||
workspaceId={workspaceId}
|
||||
workspaceSlug={workspaceSlug}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue