fix: issue description persistence (#4331)

This commit is contained in:
Aaryan Khandelwal 2024-05-01 19:55:37 +05:30 committed by GitHub
parent ed6dd37043
commit 6196c750f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ export const InboxIssueMainContent: React.FC<Props> = observer((props) => {
workspaceSlug={workspaceSlug} workspaceSlug={workspaceSlug}
projectId={issue.project_id} projectId={issue.project_id}
issueId={issue.id} issueId={issue.id}
swrIssueDescription={null} swrIssueDescription={issue.description_html ?? "<p></p>"}
initialValue={issue.description_html ?? "<p></p>"} initialValue={issue.description_html ?? "<p></p>"}
disabled={!isEditable} disabled={!isEditable}
issueOperations={issueOperations} issueOperations={issueOperations}

View File

@ -78,7 +78,7 @@ export const PeekOverviewIssueDetails: FC<IPeekOverviewIssueDetails> = observer(
issueId={issue.id} issueId={issue.id}
initialValue={issueDescription} initialValue={issueDescription}
// for now peek overview doesn't have live syncing while tab changes // for now peek overview doesn't have live syncing while tab changes
swrIssueDescription={null} swrIssueDescription={issueDescription}
disabled={disabled} disabled={disabled}
issueOperations={issueOperations} issueOperations={issueOperations}
setIsSubmitting={(value) => setIsSubmitting(value)} setIsSubmitting={(value) => setIsSubmitting(value)}