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 await draftIssuesStore
.createDraftIssue(workspaceSlug.toString(), activeProject, payload) .createDraftIssue(workspaceSlug.toString(), activeProject, payload)
.then((response) => { .then(() => {
// TODO: replace with actual group id and sub group id draftIssuesStore.fetchIssues(workspaceSlug.toString(), activeProject);
draftIssuesStore.updateIssueStructure(null, null, response);
setToastAlert({ setToastAlert({
type: "success", type: "success",