fix: draft issue not mutating after confirmation

This commit is contained in:
dakshesh14 2023-11-07 14:09:11 +05:30
parent 3d2d2befaf
commit aade1a72b7

View File

@ -216,9 +216,8 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
await draftIssuesStore
.createDraftIssue(workspaceSlug.toString(), activeProject, payload)
.then((response) => {
// TODO: replace with actual group id and sub group id
draftIssuesStore.updateIssueStructure(null, null, response);
.then(() => {
draftIssuesStore.fetchIssues(workspaceSlug.toString(), activeProject);
setToastAlert({
type: "success",