forked from github/plane
fix: issue description was not rendering in the issue create/edit modal (#4122)
This commit is contained in:
parent
b4cc58d5dd
commit
3742ea91bf
@ -461,6 +461,7 @@ export const IssueFormRoot: FC<IssueFormProps> = observer((props) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
{data?.description_html && watch("description_html") && (
|
||||||
<Controller
|
<Controller
|
||||||
name="description_html"
|
name="description_html"
|
||||||
control={control}
|
control={control}
|
||||||
@ -489,6 +490,7 @@ export const IssueFormRoot: FC<IssueFormProps> = observer((props) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -75,6 +75,7 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
|||||||
const { createIssue, updateIssue } = useIssuesActions(storeType);
|
const { createIssue, updateIssue } = useIssuesActions(storeType);
|
||||||
|
|
||||||
const fetchIssueDetail = async (issueId: string | undefined) => {
|
const fetchIssueDetail = async (issueId: string | undefined) => {
|
||||||
|
setDescription(undefined);
|
||||||
if (!workspaceSlug) return;
|
if (!workspaceSlug) return;
|
||||||
|
|
||||||
if (!projectId || issueId === undefined) {
|
if (!projectId || issueId === undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user