mirror of
https://github.com/gosticks/plane.git
synced 2025-10-16 12:45:33 +00:00
[WEB-4952]fix: published view work item description #7828
This commit is contained in:
parent
af6ea40b84
commit
97059a2786
@ -25,18 +25,12 @@ export const PeekOverviewIssueDetails: React.FC<Props> = observer((props) => {
|
|||||||
{project_details?.identifier}-{issueDetails?.sequence_id}
|
{project_details?.identifier}-{issueDetails?.sequence_id}
|
||||||
</h6>
|
</h6>
|
||||||
<h4 className="break-words text-2xl font-medium">{issueDetails.name}</h4>
|
<h4 className="break-words text-2xl font-medium">{issueDetails.name}</h4>
|
||||||
{description !== "" && description !== "<p></p>" && (
|
{description && description !== "" && description !== "<p></p>" && (
|
||||||
<RichTextEditor
|
<RichTextEditor
|
||||||
editable={false}
|
editable={false}
|
||||||
anchor={anchor}
|
anchor={anchor}
|
||||||
id={issueDetails.id}
|
id={issueDetails.id}
|
||||||
initialValue={
|
initialValue={description}
|
||||||
!description ||
|
|
||||||
description === "" ||
|
|
||||||
(typeof description === "object" && Object.keys(description).length === 0)
|
|
||||||
? "<p></p>"
|
|
||||||
: description
|
|
||||||
}
|
|
||||||
workspaceId={workspaceID?.toString() ?? ""}
|
workspaceId={workspaceID?.toString() ?? ""}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user