fix: lexical
This commit is contained in:
parent
945a75e18b
commit
b8ad8a78c9
4 changed files with 25 additions and 16 deletions
|
|
@ -51,7 +51,7 @@ type Props = {
|
|||
const defaultValues: Partial<IIssue> = {
|
||||
project: "",
|
||||
name: "",
|
||||
description: "",
|
||||
// description: "",
|
||||
state: "",
|
||||
sprints: "",
|
||||
priority: "",
|
||||
|
|
@ -176,7 +176,6 @@ const CreateUpdateIssuesModal: React.FC<Props> = ({
|
|||
if (!activeWorkspace || !activeProject) return;
|
||||
const payload: Partial<IIssue> = {
|
||||
...formData,
|
||||
description: JSON.stringify(formData.description),
|
||||
target_date: formData.target_date ? renderDateFormat(formData.target_date ?? "") : null,
|
||||
};
|
||||
if (!data) {
|
||||
|
|
|
|||
|
|
@ -184,9 +184,9 @@ const ListView: React.FC<Props> = ({
|
|||
<td className="px-3 py-4 font-medium text-gray-900 truncate text-xs max-w-[15rem]">
|
||||
{/* <LexicalViewer
|
||||
id={`descriptionViewer-${issue.id}`}
|
||||
value={JSON.parse(issue.description)}
|
||||
value={issue.description}
|
||||
/> */}
|
||||
{issue.description}
|
||||
{/* {issue.description} */}
|
||||
</td>
|
||||
) : (key as keyof Properties) === "priority" ? (
|
||||
<td className="px-3 py-4 text-sm font-medium text-gray-900 relative">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue