[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);
|
const { asset_id } = await activityOperations.uploadCommentAsset(blockId, file, comment.id);
|
||||||
return asset_id;
|
return asset_id;
|
||||||
}}
|
}}
|
||||||
projectId={projectId?.toString() ?? ""}
|
projectId={projectId}
|
||||||
parentClassName="p-2"
|
parentClassName="p-2"
|
||||||
displayConfig={{
|
displayConfig={{
|
||||||
fontSize: "small-font",
|
fontSize: "small-font",
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
|
||||||
isEditing
|
isEditing
|
||||||
readOnlyEditorRef={readOnlyEditorRef.current}
|
readOnlyEditorRef={readOnlyEditorRef.current}
|
||||||
setIsEditing={setIsEditing}
|
setIsEditing={setIsEditing}
|
||||||
|
projectId={projectId}
|
||||||
workspaceId={workspaceId}
|
workspaceId={workspaceId}
|
||||||
workspaceSlug={workspaceSlug}
|
workspaceSlug={workspaceSlug}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
|
||||||
id={"add_comment_" + entityId}
|
id={"add_comment_" + entityId}
|
||||||
value={"<p></p>"}
|
value={"<p></p>"}
|
||||||
workspaceSlug={workspaceSlug}
|
workspaceSlug={workspaceSlug}
|
||||||
|
projectId={projectId}
|
||||||
onEnterKeyPress={(e) => {
|
onEnterKeyPress={(e) => {
|
||||||
if (!isEmpty && !isSubmitting) {
|
if (!isEmpty && !isSubmitting) {
|
||||||
handleSubmit(onSubmit)(e);
|
handleSubmit(onSubmit)(e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue