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
|
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",
|
||||||
|
Loading…
Reference in New Issue
Block a user