forked from github/plane
fix: draft issue not mutating after confirmation
This commit is contained in:
parent
3d2d2befaf
commit
aade1a72b7
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user