Skip to content

Commit

Permalink
fix: preserve initial value on create more issues (#4258)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia authored Apr 23, 2024
1 parent f17e4c7 commit bf85273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/components/issues/issue-modal/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export const IssueFormRoot: FC<IssueFormProps> = observer((props) => {

reset({
...defaultValues,
...(isCreateMoreToggleEnabled ? { ...data } : {}),
project_id: getValues("project_id"),
description_html: data?.description_html ?? "<p></p>",
});
Expand Down

0 comments on commit bf85273

Please sign in to comment.