Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: peek overview delete modal (#4062)

Anmol Singh Bhatiaad5559afe490
diff --git a/web/components/issues/peek-overview/view.tsx b/web/components/issues/peek-overview/view.tsx
index 3723627a90..35925d6cd5 100644
--- a/web/components/issues/peek-overview/view.tsx
+++ b/web/components/issues/peek-overview/view.tsx
@@ -96,10 +96,9 @@ export const IssueView: FC<IIssueView> = observer((props) => {
isOpen={!!isDeleteIssueModalOpen}
handleClose={() => {
toggleDeleteIssueModal(null);
- removeRoutePeekId();
}}
data={issue}
- onSubmit={() => issueOperations.remove(workspaceSlug, projectId, issueId)}
+ onSubmit={() => issueOperations.remove(workspaceSlug, projectId, issueId).then(() => removeRoutePeekId())}
/>
)}